[PATCH AUTOSEL 5.16 36/42] drm/amd: add support to check whether the system is set to s3