[PATCH 0/9] drm/i915: Plane fb refactoring

Ville Syrjälä ville.syrjala at linux.intel.com
Fri May 10 16:55:15 UTC 2024


On Mon, May 06, 2024 at 03:57:09PM +0300, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> A bit of cleanup/refactoring around plane fb stuff.
> This is mainly prep work for a slightly bigger rework
> of alignment handling.
> 
> Ville Syrjälä (9):
>   drm/i915: Split gen2 vs. gen3 .max_stride()
>   drm/i915: Clean up skl+ plane stride limits
>   drm/i915: Drop 'uses_fence' parameter from intel_pin_fb_obj_dpt()
>   drm/i915: Extract intel_plane_needs_physical()
>   drm/i915: Polish types in fb calculations

Pushed up to here. Thanks for the review.

>   drm/i915: Constify 'fb' in during pinning
>   drm/i915: Change intel_fbdev_fb_alloc() reuturn type
>   drm/i915: Cleanup fbdev fb setup
>   drm/i915: Rename the fb pinning functions to indicate the address
>     space

Some of the rest touch xe as well.

Lucas, can you toss me an ack to merge via drm-intel-next?

> 
>  drivers/gpu/drm/i915/display/i9xx_plane.c     | 34 ++++---
>  .../gpu/drm/i915/display/intel_atomic_plane.c |  8 ++
>  .../gpu/drm/i915/display/intel_atomic_plane.h |  1 +
>  drivers/gpu/drm/i915/display/intel_dpt.c      |  6 +-
>  drivers/gpu/drm/i915/display/intel_dpt.h      |  6 +-
>  drivers/gpu/drm/i915/display/intel_fb.c       | 27 +++---
>  drivers/gpu/drm/i915/display/intel_fb_pin.c   | 73 +++++++-------
>  drivers/gpu/drm/i915/display/intel_fb_pin.h   | 12 +--
>  drivers/gpu/drm/i915/display/intel_fbdev.c    | 39 ++++----
>  drivers/gpu/drm/i915/display/intel_fbdev_fb.c |  6 +-
>  drivers/gpu/drm/i915/display/intel_fbdev_fb.h |  5 +-
>  .../drm/i915/display/skl_universal_plane.c    | 94 ++++++++++---------
>  drivers/gpu/drm/xe/display/xe_fb_pin.c        | 18 ++--
>  drivers/gpu/drm/xe/display/xe_plane_initial.c |  4 +-
>  14 files changed, 175 insertions(+), 158 deletions(-)
> 
> -- 
> 2.43.2

-- 
Ville Syrjälä
Intel


More information about the Intel-gfx mailing list