~pali/nouveau/trunk

Viewing all changes in revision 2492.

  • Committer: Ilia Mirkin
  • Date: 2019-10-13 00:45:34 UTC
  • Revision ID: git-v1:856572319fadeeadf58d782ab6f3f2d230822d67
nv4/exa: tiling is unsupported pre-nv10, reduce alignment requirements

Commit 8c8f15c9d3 added increased pitch alignment requirements to handle
nv10-nv40 tiling (which must have a small number * PoT pitch). While
NV4/NV5 do have tiling, this was never supported in nouveau.

This change enables 1920x1200 resolutions since the maximum surface
pitch has to be strictly less than 8192. The current logic will align
1920*4 up to 8192 unnecessarily.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: Marcin Kościelnicki <koriakin@0x04.net>
Cc: Francisco Jerez <currojerez@riseup.net>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: