blob: f9de244667b5c79cd45e9452b649e10f6a6f732d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
From c2cd1c23d3016f9d7ba00a255556db3a3f1c830c Mon Sep 17 00:00:00 2001
From: Tony Cheng <tony.cheng@amd.com>
Date: Fri, 28 Apr 2017 07:54:34 -0400
Subject: [PATCH 0383/4131] 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>
---
drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h | 7 +++++++
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 2c4a9d0..00cdaaae 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 065a91a..8ba9f65 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
--
2.7.4
|