[PATCH 5.15 048/196] drm/amd: add support to check whether the system is set to s3