]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/overlay: Split 'struct intel_overlay'
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 26 Feb 2026 10:07:35 +0000 (12:07 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Feb 2026 08:41:35 +0000 (10:41 +0200)
commit4f7a2a45e0f3a5449e1ceae603786816c7ed7f76
tree5a4bc0f351c7d20686bef116881ec1ffb9fbad23
parent805d0447b7fcd78e1300e72819012d8af33843cd
drm/i915/overlay: Split 'struct intel_overlay'

Split the i915 driver specific bits from 'struct intel_overlay'
into a seaarate 'struct i915_overlay'. The latter will move to
the i915 side of the parent vs. display driver split.

The display side will also need to know the virtual address of
the register map. That now gets passed as the return value
from i915_overlay_setup(), so that the display side doesn't
need to know how the mapping was achieved.

v2: Use kzalloc_obj()

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-17-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_overlay.c
drivers/gpu/drm/i915/i915_drv.h