]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/overlay: Use struct drm_gem_object as the type
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 26 Feb 2026 10:07:26 +0000 (12:07 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Feb 2026 08:41:35 +0000 (10:41 +0200)
commit35305c65b76e37cc59d7a9e159c614d9914c580a
tree071518ba6c97c8ecf3b0fbca5f3327924cba62bf
parent24d87ce98e54feae55259bb93a436f872f6cc574
drm/i915/overlay: Use struct drm_gem_object as the type

Use 'struct drm_gem_object' for the BO instead of 'struct
drm_i915_gem_object', to avoid having the display side
know anything about the i915 specific BO type.

v2: Correctly handle the ERR_PTR returned by
    i915_overlay_obj_lookup() (Jani)

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260226100738.29997-8-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_overlay.c