]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Allow PState switch in VBLANK one display VACTIVE
authorAlvin Lee <alvin.lee2@amd.com>
Tue, 21 Apr 2020 16:29:12 +0000 (12:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 May 2020 17:11:23 +0000 (13:11 -0400)
commit7aea404bc26a6e2bb4411d1f21ed929521f22370
tree9d0e8e8265bbdb2ad48bf995e099f6fba9eeaa73
parent28c86f73084c99e672a456312120dedcb7e27771
drm/amd/display: Allow PState switch in VBLANK one display VACTIVE

[Why]
For certain display configurations we want to allow PSTATE
switch when one display can switch in VACTIVE and the
other display can switch in VBLANK

[How]
Add extra condition to dcn2 pstate support check

Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@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/dcn20/dcn20_resource.c
drivers/gpu/drm/amd/display/dc/dml/dcn20/display_mode_vba_20v2.c
drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h
drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.c
drivers/gpu/drm/amd/display/dc/dml/display_mode_vba.h