]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Various fixes for PSR on DMCUB
authorWyatt Wood <wyatt.wood@amd.com>
Sun, 5 Apr 2020 17:48:56 +0000 (13:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Apr 2020 22:11:48 +0000 (18:11 -0400)
commitf59e46a1fba9073a64f9e4d6ce4a4c19f7684af8
treee48c6d3d67e2660d29b5ef2e698a451e802dcdab
parent2ea3d93fa1b321d52a4ca1ea765ba8b7773b38fa
drm/amd/display: Various fixes for PSR on DMCUB

[Why]
- Driver does not recognize new definitions of psr states.
- Internal tool is required for checking if psr is active.

[How]
- Parse psr state correctly so that driver will recognize psr state.
- Add visual confirmation that psr is active using existing mechanisms.

Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h