]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Properly read LVTMA_PWRSEQ_CNTL
authorJoshua Aberback <joshua.aberback@amd.com>
Thu, 8 Aug 2019 17:22:36 +0000 (13:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 16:45:55 +0000 (11:45 -0500)
commitcf2403025bfe30e4de390a97591fb94a948172d1
tree9fdb07ece0ca82e9ba1ede67912cf4c3e7a7380e
parentbaa68b9fc0fd2b260cc3fe5921928223be98deba
drm/amd/display: Properly read LVTMA_PWRSEQ_CNTL

[Why]
The register LVTMA_PWRSEQ_CNTL is used to determine the power state of the
embedded display. Currently we do not actually read this register's values,
so during power down we think that this display is already off, so we skip
calling into VBIOS to actually turn it off.

[How]
 - add relevant fields to shift / mask initialization

Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h