summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_cursor.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2025-02-06 20:55:30 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2025-02-10 23:06:09 +0200
commit69e79a3a3208fbc50cb1773bc18da405927b9f98 (patch)
treeb588460759dca256b6f6d95c24fb430e467b02ff /drivers/gpu/drm/i915/display/intel_cursor.h
parent9665025b57796f11ef0efac0116c2ec0f55091a9 (diff)
drm/i915: Convert intel_cursor.c to struct intel_display
struct intel_display will replace struct drm_i915_private as the main thing for display code. Convert the cursor code to use it. 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/20250206185533.32306-10-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_cursor.h')
-rw-r--r--drivers/gpu/drm/i915/display/intel_cursor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_cursor.h b/drivers/gpu/drm/i915/display/intel_cursor.h
index e2d9ec710a86..65a9e7eb88c2 100644
--- a/drivers/gpu/drm/i915/display/intel_cursor.h
+++ b/drivers/gpu/drm/i915/display/intel_cursor.h
@@ -7,12 +7,12 @@
#define _INTEL_CURSOR_H_
enum pipe;
-struct drm_i915_private;
+struct intel_display;
struct intel_plane;
struct kthread_work;
struct intel_plane *
-intel_cursor_plane_create(struct drm_i915_private *dev_priv,
+intel_cursor_plane_create(struct intel_display *display,
enum pipe pipe);
void intel_cursor_unpin_work(struct kthread_work *base);