From: Dan Carpenter Date: Tue, 14 Feb 2012 07:38:11 +0000 (+0300) Subject: drm/radeon/evergreen: make texdw[] array larger X-Git-Tag: MMI-PSA29.97-13-9~17223^2~89 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=42b923b587d055cd98fb84f32e3e758672026ae9;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Reviewed-by: Jerome Glisse Signed-off-by: Dave Airlie --- 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);