aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
diff options
context:
space:
mode:
authorDillon Varone <dillon.varone@amd.com>2024-03-15 16:50:47 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-03-27 01:43:28 -0400
commit5034b935f62a43ed669aea491ff1a86fd995df3a (patch)
tree047408438fb703c938c01b0a375fae71d5542b12 /drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
parentdrm/amd/display: Remove plane and stream pointers from dc scratch (diff)
downloadwireguard-linux-5034b935f62a43ed669aea491ff1a86fd995df3a.tar.xz
wireguard-linux-5034b935f62a43ed669aea491ff1a86fd995df3a.zip
drm/amd/display: Modify DHCUB waterwark structures and functions
[WHY&HOW] Converting the watermark set structure to a union and modifying some interfaces to accommodate future usage. Reviewed-by: Chaitanya Dhere <chaitanya.dhere@amd.com> Acked-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: Dillon Varone <dillon.varone@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
index 2ae7484d18af..305fdc127bfc 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
@@ -160,7 +160,7 @@ struct hubbub_funcs {
bool (*program_watermarks)(
struct hubbub *hubbub,
- struct dcn_watermark_set *watermarks,
+ union dcn_watermark_set *watermarks,
unsigned int refclk_mhz,
bool safe_to_lower);