diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-04-17 21:54:05 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-04-18 21:13:45 +0300 |
commit | 0dc1d6e4d4305a62c64242ec65709e44f5036cf4 (patch) | |
tree | c7a1f9601f72ef0659d2e18ea161d9838d3b0183 /lib/rendercopy_i915.c | |
parent | 9b63498756875e8166e10d728056e5f4ac036da6 (diff) |
lib/igt_fb: Fix blitter limit checks
The earlier approach of checking the higher tiled stride
limit has backfired. All out blits are between tiled and
linear, but we only ever check this for the tiled fb. Thus
we are taking the blitter path even though the linear fb
exceeds the blitter limits. So let's just check the limits
as if we are operating on linear fbs.
And let's toss in some width/height checks, and let's do
the checks for all the color planes as well.
v2: Reword the comment a bit to hopefully make it legible (Chris)
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/rendercopy_i915.c')
0 files changed, 0 insertions, 0 deletions