diff options
author | Dave Airlie <airlied@redhat.com> | 2010-10-20 23:55:40 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-25 20:26:35 -0400 |
commit | f30df2fad0c901e74ac9a52a488a54c69a373a41 (patch) | |
tree | 8f7ab96e9cbc373b20833e764a07f78091b41fb6 /drivers/md/dm-io.c | |
parent | e3ce8a0b277438591844847ac7c89a980b4cfa6d (diff) |
drm/radeon/r600: fix tiling issues in CS checker.
The CS checker had some incorrect alignment requirements for 2D surfaces,
this made rendering to mipmap levels that were 2D broken.
Also the CB height was being worked out from the BO size, this doesn't work
at all when rendering mipmap levels, instead we work out what height userspace
wanted from slice max and use that to check it fits inside the BO, however
the DDX send the wrong slice max for an unaligned buffer so we have to workaround
for that even though its a userspace bug.
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/md/dm-io.c')
0 files changed, 0 insertions, 0 deletions