OSDN Git Service

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)
commitb0f5b1004ef8fbdd7cb314fe0bbbc115beae057a
treec6501dad8dcb084def2430247a004ae9bdc798c4
parentb0d6de32e30c635aac22e52357b090982d94df52
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