]> 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)
commit65926b6f88ba96090ac22a7fe3cbff010be57008
tree9fdb07ece0ca82e9ba1ede67912cf4c3e7a7380e
parent9f67bc9b2ede1f3090e82042c0ecd4689f317c17
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