summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/hw
diff options
context:
space:
mode:
authorDavid Zhang <dingchen.zhang@amd.com>2022-05-04 12:30:24 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-06-06 14:42:53 -0400
commit1b0da5a3e90d3920f6967e4303fdeaaec6f62208 (patch)
tree81b3348a703a2f8ed0091f02c36ec27242fc6f1f /drivers/gpu/drm/amd/display/dc/inc/hw
parent381b590c307f29d0990c4b99ae3a2e02aff2a5b9 (diff)
downloadlinux-1b0da5a3e90d3920f6967e4303fdeaaec6f62208.tar.gz
drm/amd/display: update cursor position to DMUB FW
[why] To involve the cursor position into dirty rectangle calculation. [how] - separate plane and cursor update by different DMUB command - send the cursor information while cursor updating, when updating cursor position/attribute, store cursor pos/attr to hubp, and notify dmub FW to exit psr before program cursor registers 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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h b/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h
index b2cdb6bfc9b8..906818e792dd 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h
@@ -63,6 +63,7 @@ struct hubp {
int opp_id;
int mpcc_id;
struct dc_cursor_attributes curs_attr;
+ struct dc_cursor_position curs_pos;
bool power_gated;
};