OSDN Git Service

drm/amd/display: move drr_params definition to TG
authorTony Cheng <tony.cheng@amd.com>
Fri, 28 Apr 2017 11:54:34 +0000 (07:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:06:45 +0000 (18:06 -0400)
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>
drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h
drivers/gpu/drm/amd/display/include/hw_sequencer_types.h

index 2c4a9d0..00cdaaa 100644 (file)
@@ -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
 
index 065a91a..8ba9f65 100644 (file)
 #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