Commit 42a8cc08 authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Kamal Ap
Browse files

UPSTREAM: drm/i915: Decouple i915_gem_dumb_create() from the display a bit



Pass the device argument as drm_device to intel_plane_fb_max_stride()
to decouple i915_gem_dumb_create() vs. the display code a bit.

xe currently doesn't even call this, but it probably should...

v2: s/dev/drm/ (Jani)

Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250206185533.32306-3-ville.syrjala@linux.intel.com


(cherry picked from commit 2bb94767)

Bug: 432032023
Test: None
Change-Id: Iff71c76724ce85d5c6d556e3fae28644a38a3d06
Signed-off-by: default avatarAp, Kamal <kamal.ap@intel.corp-partner.google.com>
parent 56b87e38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment