Message ID | 1288120901-6433-1-git-send-email-alexdeucher@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/radeon/r600_cs.c b/drivers/gpu/drm/radeon/r600_cs.c index 7e44b5a..aec0944 100644 --- a/drivers/gpu/drm/radeon/r600_cs.c +++ b/drivers/gpu/drm/radeon/r600_cs.c @@ -190,6 +190,8 @@ static inline int r600_cs_track_validate_cb(struct radeon_cs_parser *p, int i) height = slice_tile_max / (pitch * 8); if (height > 8192) height = 8192; + if (height > 7) + height &= ~0x7; array_mode = G_0280A0_ARRAY_MODE(track->cb_color_info[i]); switch (array_mode) { case V_0280A0_ARRAY_LINEAR_GENERAL: