summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/g4x_hdmi.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2021-03-18 18:10:14 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2021-03-19 18:31:29 +0200
commit33e9e541733e653ca82e3756aeb99c393b13bcb0 (patch)
treeb7278db55ac3257fafc3426d32c655411f7ad54f /drivers/gpu/drm/i915/display/g4x_hdmi.h
parent917c28991f4114b712dc8523b4414ee51a642f4d (diff)
downloadlinux-33e9e541733e653ca82e3756aeb99c393b13bcb0.tar.gz
linux-33e9e541733e653ca82e3756aeb99c393b13bcb0.tar.bz2
linux-33e9e541733e653ca82e3756aeb99c393b13bcb0.zip
drm/i915: Introduce g4x_hdmi.c
Extract the g4x+ HDMI low level code to its own file, leaving intel_hdmi.c to deal with higher level issues. The infoframe support I decided to leave in intel_hdmi.c since I think we need to move that as a whole to its own file. It is after all used also for DP SDPs, so no longer HDMI specific. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210318161015.22070-7-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/g4x_hdmi.h')
-rw-r--r--drivers/gpu/drm/i915/display/g4x_hdmi.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/g4x_hdmi.h b/drivers/gpu/drm/i915/display/g4x_hdmi.h
new file mode 100644
index 000000000000..0c18a40ac33f
--- /dev/null
+++ b/drivers/gpu/drm/i915/display/g4x_hdmi.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: MIT */
+/*
+ * Copyright © 2020 Intel Corporation
+ */
+
+#ifndef _G4X_HDMI_H_
+#define _G4X_HDMI_H_
+
+#include <linux/types.h>
+
+#include "i915_reg.h"
+
+enum port;
+struct drm_i915_private;
+
+void intel_hdmi_init(struct drm_i915_private *dev_priv,
+ i915_reg_t hdmi_reg, enum port port);
+
+#endif