]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Disable SubVP on driver disable
authorAlvin Lee <Alvin.Lee2@amd.com>
Thu, 1 Sep 2022 23:03:31 +0000 (19:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Sep 2022 19:12:44 +0000 (15:12 -0400)
commite6296cc028f2b02995fad4934deb3f2410025392
treec6501dad8dcb084def2430247a004ae9bdc798c4
parenta383bff59d3cc6efbd4cf786e15b7bff70f3b0b6
drm/amd/display: Disable SubVP on driver disable

[Why and How]
- For driver disable cases in current implementation, if P-State
  is unsupported or still supported by firmware, we force it
  supported by DCN.

- SubVP now needs to be included in this case along with FPO.

Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.h
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c