]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: read PSR-SU cap DPCD for specific panel
authorDavid Zhang <dingchen.zhang@amd.com>
Mon, 11 Apr 2022 20:04:39 +0000 (16:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 25 Apr 2022 21:10:43 +0000 (17:10 -0400)
commitb866d2e15835767f3db3087ce368be5586c0d35c
tree86deb96794c8b8201a520392be8ee256c27fd6bb
parentefa2e4f299d9621f5d6e316b8018ee952a72f547
drm/amd/display: read PSR-SU cap DPCD for specific panel

[why & how]
For some specific eDP panel, we'd check the PSR-SU cap during boot
by reading the vendor specific DPCD, otherwise it will cause to
false report the eDP panel which supports PSR-SU as an non-PSR-SU
panel.

- add the vendor specific DPCD address in ddc_service_types header
- if specific eDP panel detected, check vendor specific DPCD for
  PSR-SU cap

Reviewed-by: Aurabindo Jayamohanan Pillai <Aurabindo.Pillai@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: David Zhang <dingchen.zhang@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/core/dc_link_dp.c
drivers/gpu/drm/amd/display/include/ddc_service_types.h