aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
diff options
context:
space:
mode:
authorEric Yang <Eric.Yang2@amd.com>2017-07-23 15:18:57 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:15:31 -0400
commit8748068764e7a50ac787c1c17f402f3fbbe97ccc (patch)
tree3dec15fd976d3a169d9e6c0fb0d6a27dc663e99b /drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
parentdrm/amd/display: Fix generic_reg_wait 1000ms case (diff)
downloadlinux-8748068764e7a50ac787c1c17f402f3fbbe97ccc.tar.gz
linux-8748068764e7a50ac787c1c17f402f3fbbe97ccc.zip
drm/amd/display: add idle wait for passive surface update and modeset
Signed-off-by: Eric Yang <Eric.Yang2@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-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/hw_shared.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h b/drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
index 907e0a9a8474..0212618a36be 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h
@@ -32,6 +32,9 @@
/******************************************************************************
* Data types shared between different Virtual HW blocks
******************************************************************************/
+
+#define MAX_PIPES 6
+
struct gamma_curve {
uint32_t offset;
uint32_t segments_num;