drm/i915/dsi: move operation mode types to intel_dsi.h
authorJani Nikula <jani.nikula@intel.com>
Thu, 2 May 2019 15:02:36 +0000 (18:02 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 3 May 2019 07:06:11 +0000 (10:06 +0300)
Reduce clutter from intel_drv.h with the minimal change.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/72de677e844220d8522a836aae206c278ea45284.1556809195.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_dsi.h

index ab11c38..25a5fb4 100644 (file)
@@ -184,9 +184,6 @@ enum intel_output_type {
        INTEL_OUTPUT_DP_MST = 11,
 };
 
-#define INTEL_DSI_VIDEO_MODE   0
-#define INTEL_DSI_COMMAND_MODE 1
-
 struct intel_framebuffer {
        struct drm_framebuffer base;
        struct intel_rotation_info rot_info;
index 1d1e6be..f9b9006 100644 (file)
@@ -28,6 +28,9 @@
 #include <drm/drm_mipi_dsi.h>
 #include "intel_drv.h"
 
+#define INTEL_DSI_VIDEO_MODE   0
+#define INTEL_DSI_COMMAND_MODE 1
+
 /* Dual Link support */
 #define DSI_DUAL_LINK_NONE             0
 #define DSI_DUAL_LINK_FRONT_BACK       1