Skip to content
Commit e76a16de authored by Eric Anholt's avatar Eric Anholt
Browse files

drm/i915: Fix tiling pitch handling on 8xx.



The pitch field is an exponent on pre-965, so we were rejecting buffers
on 8xx that we shouldn't have.  915 got lucky in that the largest legal
value happened to match (8KB / 512 = 0x10), but 8xx has a smaller tile width.
Additionally, we programmed that bad value into the register on 8xx, so the
only pitch that would work correctly was 4096 (512-1023 pixels), while others
would probably give bad rendering or hangs.

Signed-off-by: default avatarEric Anholt <eric@anholt.net>

fd.o bug #20473.
parent cd86a536
Loading
Loading
Loading
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