diff options
author | Tony Cheng | 2017-04-28 13:54:34 +0200 |
---|---|---|
committer | Alex Deucher | 2017-09-27 00:06:45 +0200 |
commit | 9c3b2b50b3f03e876d5df1cf8940a79013091e9d (patch) | |
tree | f907367bb52ac5c1687f7ca92596991f9fd88dbd /drivers/gpu/drm | |
parent | drm/amd/display: Disable cursor on video surface. (diff) | |
download | kernel-qcow2-linux-9c3b2b50b3f03e876d5df1cf8940a79013091e9d.tar.gz kernel-qcow2-linux-9c3b2b50b3f03e876d5df1cf8940a79013091e9d.tar.xz kernel-qcow2-linux-9c3b2b50b3f03e876d5df1cf8940a79013091e9d.zip |
drm/amd/display: move drr_params definition to TG
Signed-off-by: Tony Cheng <tony.cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h | 7 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/display/include/hw_sequencer_types.h | 11 |
2 files changed, 7 insertions, 11 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h b/drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h index 2c4a9d02b3c1..00cdaaae455c 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h @@ -40,6 +40,13 @@ struct dcp_gsl_params { int gsl_master; }; +/* define the structure of Dynamic Refresh Mode */ +struct drr_params { + uint32_t vertical_total_min; + uint32_t vertical_total_max; + bool immediate_flip; +}; + #define LEFT_EYE_3D_PRIMARY_SURFACE 1 #define RIGHT_EYE_3D_PRIMARY_SURFACE 0 diff --git a/drivers/gpu/drm/amd/display/include/hw_sequencer_types.h b/drivers/gpu/drm/amd/display/include/hw_sequencer_types.h index 065a91a7002f..8ba9f65276f5 100644 --- a/drivers/gpu/drm/amd/display/include/hw_sequencer_types.h +++ b/drivers/gpu/drm/amd/display/include/hw_sequencer_types.h @@ -30,15 +30,4 @@ #include "grph_object_defs.h" #include "link_service_types.h" -/* define the structure of Dynamic Refresh Mode */ -struct drr_params { - /* defines the minimum possible vertical dimension of display timing - * for CRTC as supported by the panel */ - uint32_t vertical_total_min; - /* defines the maximum possible vertical dimension of display timing - * for CRTC as supported by the panel */ - uint32_t vertical_total_max; - bool immediate_flip; -}; - #endif |