mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
drm/xe: Fix ggtt fb alignment
Pass the correct alignment from intel_fb_pin_to_ggtt() down to
__xe_pin_fb_vma().
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Closes: https://lore.kernel.org/intel-xe/aNL_RgLy13fXJbYx@intel.com/
Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Fixes: b0228a337d ("drm/xe/display: align framebuffers according to hw requirements")
Cc: <stable@vger.kernel.org> # v6.13+
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patch.msgid.link/20251208181550.6618-1-tursulin@igalia.com
This commit is contained in:
parent
35ec71285c
commit
a61bf068f1
|
|
@ -378,7 +378,7 @@ intel_fb_pin_to_ggtt(const struct drm_framebuffer *fb,
|
|||
{
|
||||
*out_flags = 0;
|
||||
|
||||
return __xe_pin_fb_vma(to_intel_framebuffer(fb), view, phys_alignment);
|
||||
return __xe_pin_fb_vma(to_intel_framebuffer(fb), view, alignment);
|
||||
}
|
||||
|
||||
void intel_fb_unpin_vma(struct i915_vma *vma, unsigned long flags)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user