aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorDavid Zhang <[email protected]>2022-05-11 17:29:54 +0000
committerAlex Deucher <[email protected]>2022-06-07 20:09:57 +0000
commitf9f4daf15398c3aa0aa2dcd05ed4ea2544bcc62c (patch)
treefb57fa0711342eaf6c3b8368041324c221205fa9 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentdrm/amd/display: Add PSR-SU-RC support in DC (diff)
downloadkernel-f9f4daf15398c3aa0aa2dcd05ed4ea2544bcc62c.tar.gz
kernel-f9f4daf15398c3aa0aa2dcd05ed4ea2544bcc62c.zip
drm/amd/display: pass panel instance in DMUB dirty rect command
[Why] In cases where there are multiple eDP instances, DMUB needs to know which instance the command is for. Today, the field for specifying the panel_inst exists in both dmub_cmd_update_dirty_rect_data and dmub_cmd_update_cursor_info_data. For cursor updates, we already specify the panel_inst, but that's not the case for dirty_rect updates. Today, a value of '0' is used (due to initial memsetting of the cmd struct to 0) [how] In dc_dmub_update_dirty_rect(), Call dc_get_edp_link_panel_inst() to get the panel_inst, and fill it in the DMUB cmd struct. v2: Update commit message for clarity. Signed-off-by: Mikita Lipski <[email protected]> Signed-off-by: David Zhang <[email protected]> Acked-by: Leo Li <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions