diff options
author | Rob Clark <[email protected]> | 2017-09-14 15:03:11 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2017-10-02 09:25:57 -0400 |
commit | 16ac70bdcf29d075e11f1ebc54405d0ea19b561c (patch) | |
tree | 64eb7ba0401f49a7fa5dd85cced0808d6747e84c /src/gallium/drivers/radeonsi | |
parent | 146c2b7c28ad62e837a9ca8123c2829bd07ca77a (diff) |
freedreno/a5xx: align height to GMEM
Similar to the way width/pitch alignment works, it seems like we need to
do similar for height. Otherwise the BLIT from system memory to GMEM
can over-fetch beyond the end of the buffer, triggering a fault.
I'm not sure if there is a better solution yet. Possibly we could fall
back to pre-a5xx style DRAW packets for cases where BLIT might over-
fetch. (We in theory have that problem already with rendering to higher
mipmap levels, although fortunately those tend to use GMEM bypass.)
This fixes issues reported with glamor.
Reported-by: [email protected]
Cc: 17.2 <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
0 files changed, 0 insertions, 0 deletions