[PATCH 0/4] drm/{i915, xe}: convert i915->display and xe->display into pointers

Gustavo Sousa gustavo.sousa at intel.com
Wed May 7 12:54:35 UTC 2025


Quoting Jani Nikula (2025-05-07 06:38:32-03:00)
>Another small step towards separating i915 and xe drivers from
>display. Convert the i915->display and xe->display members into
>pointers. In the future, we can allocate them dynamically, but one step
>at a time.
>
>BR,
>Jani.
>
>
>Jani Nikula (4):
>  drm/xe/rpm: use to_xe_device() instead of container_of
>  drm/xe/display: do not reference xe->display inline
>  drm/i915: do not reference i915->display inline
>  drm/{i915,xe}: convert i915 and xe display members into pointers

Series is

Reviewed-by: Gustavo Sousa <gustavo.sousa at intel.com>

>
> .../i915/display/intel_display_conversion.c   |  2 +-
> drivers/gpu/drm/i915/display/intel_dpt.c      |  2 +-
> drivers/gpu/drm/i915/display/intel_vbt_defs.h |  2 +-
> .../i915/gem/i915_gem_object_frontbuffer.h    |  2 +-
> drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c  |  2 +-
> drivers/gpu/drm/i915/gt/intel_gt_pm.c         |  4 +-
> drivers/gpu/drm/i915/gt/intel_reset.c         |  4 +-
> drivers/gpu/drm/i915/gt/intel_rps.c           |  4 +-
> drivers/gpu/drm/i915/gvt/cmd_parser.c         |  6 +-
> drivers/gpu/drm/i915/gvt/display.c            | 10 ++--
> drivers/gpu/drm/i915/gvt/fb_decoder.c         |  6 +-
> drivers/gpu/drm/i915/gvt/handlers.c           |  8 +--
> drivers/gpu/drm/i915/i915_driver.c            | 57 ++++++++++--------
> drivers/gpu/drm/i915/i915_drv.h               |  3 +-
> drivers/gpu/drm/i915/i915_getparam.c          |  2 +-
> drivers/gpu/drm/i915/i915_gpu_error.c         |  2 +-
> drivers/gpu/drm/i915/i915_irq.c               | 50 ++++++++--------
> drivers/gpu/drm/i915/intel_clock_gating.c     |  3 +-
> drivers/gpu/drm/xe/display/xe_display.c       | 60 +++++++++++--------
> drivers/gpu/drm/xe/display/xe_display_rpm.c   |  3 +-
> drivers/gpu/drm/xe/display/xe_fb_pin.c        |  5 +-
> drivers/gpu/drm/xe/xe_device_types.h          |  3 +-
> 22 files changed, 130 insertions(+), 110 deletions(-)
>
>-- 
>2.39.5
>


More information about the Intel-xe mailing list