summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/display/intel_panel.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-11-25 18:31:48 +0100
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-12-09 18:02:49 +0100
commitf70f8153e3642337b444fbc0c64d546a46bbcd62 (patch)
tree5bf04124653c271230238e8628965fb90aa0f646 /drivers/gpu/drm/i915/display/intel_panel.h
parentdrm/i915/display: no need for gt/gen8_ppgtt.h (diff)
downloadlinux-f70f8153e3642337b444fbc0c64d546a46bbcd62.tar.xz
linux-f70f8153e3642337b444fbc0c64d546a46bbcd62.zip
drm/i915: Introduce intel_panel_init_alloc()
Introduce a place where we can initialize connector->panel after it's been allocated. We already have a intel_panel_init() so had to get creative with the name and came up with intel_panel_init_alloc(). Cc: Animesh Manna <animesh.manna@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221125173156.31689-2-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_panel.h')
-rw-r--r--drivers/gpu/drm/i915/display/intel_panel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_panel.h b/drivers/gpu/drm/i915/display/intel_panel.h
index 5c5b5b7f95b6..4b51e1c51da6 100644
--- a/drivers/gpu/drm/i915/display/intel_panel.h
+++ b/drivers/gpu/drm/i915/display/intel_panel.h
@@ -18,6 +18,7 @@ struct intel_connector;
struct intel_crtc_state;
struct intel_encoder;
+void intel_panel_init_alloc(struct intel_connector *connector);
int intel_panel_init(struct intel_connector *connector);
void intel_panel_fini(struct intel_connector *connector);
enum drm_connector_status