diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-02-14 10:38:11 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-02-16 09:18:13 +0000 |
commit | 42b923b587d055cd98fb84f32e3e758672026ae9 (patch) | |
tree | 81b7d4660de604b628f6916c36d1bd034b27fb4d /drivers | |
parent | cdbe8b5426e71d09882212073c27c9dcf25a71b6 (diff) |
drm/radeon/evergreen: make texdw[] array larger
We store stuff in texdw[7] so this array needs to have 8 elements.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/evergreen_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen_cs.c b/drivers/gpu/drm/radeon/evergreen_cs.c index 2ed17f761736..49203b67b81b 100644 --- a/drivers/gpu/drm/radeon/evergreen_cs.c +++ b/drivers/gpu/drm/radeon/evergreen_cs.c @@ -638,7 +638,7 @@ static int evergreen_cs_track_validate_texture(struct radeon_cs_parser *p, struct eg_surface surf; unsigned long toffset, moffset; unsigned dim, llevel, mslice, width, height, depth, i; - u32 texdw[7]; + u32 texdw[8]; int r; texdw[0] = radeon_get_ib_value(p, idx + 0); |