Skip to content
Snippets Groups Projects
Commit 9fb2c847 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Marge Bot
Browse files

isl: only bump the min row pitch for display when not specified


If the ISL caller didn't specify a row_pitch_B, let's use the
NVIDIA/AMD requirements. Otherwise keep using the Intel requirement,
as the caller is likely trying to import a buffer and if we can deal
with that row_pitch_B, we should accept it.

Signed-off-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: a3a4517f ("isl: Work around NVIDIA and AMD display pitch requirements")
Reported-by: default avatarDongwon Kim <dongwon.kim@intel.com>
Reviewed-by: default avatarNanley Chery <nanley.g.chery@intel.com>
Part-of: <mesa/mesa!13024>
parent 47ff6767
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment