Commit 42b923b5 authored by Dan Carpenter's avatar Dan Carpenter Committed by Dave Airlie

drm/radeon/evergreen: make texdw[] array larger

We store stuff in texdw[7] so this array needs to have 8 elements.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: default avatarJerome Glisse <jglisse@redhat.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent cdbe8b54
...@@ -638,7 +638,7 @@ static int evergreen_cs_track_validate_texture(struct radeon_cs_parser *p, ...@@ -638,7 +638,7 @@ static int evergreen_cs_track_validate_texture(struct radeon_cs_parser *p,
struct eg_surface surf; struct eg_surface surf;
unsigned long toffset, moffset; unsigned long toffset, moffset;
unsigned dim, llevel, mslice, width, height, depth, i; unsigned dim, llevel, mslice, width, height, depth, i;
u32 texdw[7]; u32 texdw[8];
int r; int r;
texdw[0] = radeon_get_ib_value(p, idx + 0); texdw[0] = radeon_get_ib_value(p, idx + 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment