[Intel-xe] [PATCH v3 00/12] Frontbuffer tracking refactoring

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Tue Sep 12 16:13:13 UTC 2023


For the series:
Reviewed-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

On 2023-09-12 08:46, Jouni Högander wrote:
> These patches are cleaning up all #ifdefs added into
> intel_frontbuffer.[ch] for Xe build. I915 part of the refactoring is
> already merged into drm-tip and these patches are implementing or
> adding empty defines for Xe.
> 
> v3:
>    - drop reference counting from xe frontbuffer set implementation
> v2:
>    - xe_bo get/put handling changed
> 
> Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Cc: Uma Shankar <uma.shankar at intel.com>
> Cc: Jani Nikula <jani.nikula at intel.com>
> Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
> 
> Jouni Högander (12):
>    drm/i915/display: Move releasing gem object away from fb tracking
>    drm/i915: Ignore set frontbuffer return value on release
>    fixup! drm/i915/display: Remaining changes to make xe compile
>    drm/xe: Add macro to get i915 device from xe_bo
>    fixup! drm/i915/display: Remaining changes to make xe compile
>    drm/xe: Add frontbuffer setter/getter for xe_bo
>    fixup! drm/i915/display: Remaining changes to make xe compile
>    drm/xe: Add i915_active.h compatibility header
>    drm/xe/display: Include i916_active header
>    drm/xe: Add struct i915_active for Xe
>    fixup! drm/i915/display: Remaining changes to make xe compile
>    drm/xe: Add empty define for i915_ggtt_clear_scanout
> 
>   .../gpu/drm/i915/display/intel_frontbuffer.c  | 29 +++----------------
>   .../gpu/drm/i915/display/intel_frontbuffer.h  |  2 --
>   drivers/gpu/drm/i915/gem/i915_gem_object.h    |  1 +
>   .../drm/xe/compat-i915-headers/i915_active.h  | 22 ++++++++++++++
>   .../compat-i915-headers/i915_active_types.h   | 13 +++++++++
>   .../gpu/drm/xe/compat-i915-headers/i915_vma.h |  2 ++
>   drivers/gpu/drm/xe/xe_bo.h                    |  3 ++
>   drivers/gpu/drm/xe/xe_bo_types.h              |  3 ++
>   8 files changed, 48 insertions(+), 27 deletions(-)
>   create mode 100644 drivers/gpu/drm/xe/compat-i915-headers/i915_active.h
> 


More information about the Intel-xe mailing list