diff options
author | Daniel Stone <[email protected]> | 2018-02-15 15:04:51 +0000 |
---|---|---|
committer | Daniel Stone <[email protected]> | 2018-02-17 10:22:35 +0000 |
commit | 9d21dbeb88bc99ca0e153c11265e19536ad36b61 (patch) | |
tree | 2cb8c182274f92b14e8e6b364eee2865763d2e91 /src/gallium/targets/omx-bellagio/omx.sym | |
parent | 931ec80eebbfd6a301a828daa0c9945f49533611 (diff) |
i965: Fix aux-surface size check
The previous commit reworked the checks intel_from_planar() to check the
right individual cases for regular/planar/aux buffers, and do size
checks in all cases.
Unfortunately, the aux size check was broken, and required the aux
surface to be allocated with the correct aux stride, but full image
height (!).
As the ISL aux surface is not recorded in the DRIimage, we cannot easily
access it to check. Instead, store the aux size from when we do have the
ISL surface to hand, and check against that later when we go to access
the aux surface.
Signed-off-by: Daniel Stone <[email protected]>
Fixes: c2c4e5bae3ba ("i965: Fix bugs in intel_from_planar")
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/gallium/targets/omx-bellagio/omx.sym')
0 files changed, 0 insertions, 0 deletions