Skip to content

Commit

Permalink
drm/radeon/evergreen: make texdw[] array larger
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Carpenter authored and Dave Airlie committed Feb 16, 2012
1 parent cdbe8b5 commit 42b923b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/evergreen_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 42b923b

Please sign in to comment.