diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-02-14 02:38:11 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-02-16 04:18:13 -0500 |
commit | 42b923b587d055cd98fb84f32e3e758672026ae9 (patch) | |
tree | 81b7d4660de604b628f6916c36d1bd034b27fb4d /drivers/gpu | |
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/gpu')
-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, | |||
638 | struct eg_surface surf; | 638 | struct eg_surface surf; |
639 | unsigned long toffset, moffset; | 639 | unsigned long toffset, moffset; |
640 | unsigned dim, llevel, mslice, width, height, depth, i; | 640 | unsigned dim, llevel, mslice, width, height, depth, i; |
641 | u32 texdw[7]; | 641 | u32 texdw[8]; |
642 | int r; | 642 | int r; |
643 | 643 | ||
644 | texdw[0] = radeon_get_ib_value(p, idx + 0); | 644 | texdw[0] = radeon_get_ib_value(p, idx + 0); |