drm/amd/display: Passing Y-granularity to dmub fw
authorDavid Zhang <dingchen.zhang@amd.com>
Mon, 2 May 2022 15:21:25 +0000 (11:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Jun 2022 18:41:42 +0000 (14:41 -0400)
commita35806b36ea44724b21f7f110b38b5941fc9c393
treef16424c332287f7253bf50439c74144e4520dc7c
parent4c7631800e6bf0eced08dd7b4f793fcd972f597d
drm/amd/display: Passing Y-granularity to dmub fw

[Why]
The Y-granularity panel parameter indicate the grid
pattern granularity in the Y direction for PSRSU.

[How]
Send the Y-granularity data by PSR_COPY_SETTINGS dmub command.

Signed-off-by: David Zhang <dingchen.zhang@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc_types.h
drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c