mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-25 06:00:11 +01:00
R200_PP_CUBIC_OFFSET_F1_[0-6] state packets only contain 5 offsets, not 6
(thanks to Andreas Stenglein for spotting this)
This commit is contained in:
parent
fb7b802dda
commit
7b62ed9aed
2 changed files with 2 additions and 2 deletions
|
|
@ -110,7 +110,7 @@ static __inline__ int radeon_check_and_fixup_packets( drm_radeon_private_t *dev_
|
|||
id == R200_PP_CUBIC_OFFSET_F1_2 || id == R200_PP_CUBIC_OFFSET_F1_3 ||
|
||||
id == R200_PP_CUBIC_OFFSET_F1_4 || id == R200_PP_CUBIC_OFFSET_F1_5 ) {
|
||||
int i;
|
||||
for ( i = 0; i < 6; i++ ) {
|
||||
for ( i = 0; i < 5; i++ ) {
|
||||
if ( radeon_check_and_fixup_offset_user( dev_priv,
|
||||
filp_priv,
|
||||
&data[i] ) ) {
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ static __inline__ int radeon_check_and_fixup_packets( drm_radeon_private_t *dev_
|
|||
id == R200_PP_CUBIC_OFFSET_F1_2 || id == R200_PP_CUBIC_OFFSET_F1_3 ||
|
||||
id == R200_PP_CUBIC_OFFSET_F1_4 || id == R200_PP_CUBIC_OFFSET_F1_5 ) {
|
||||
int i;
|
||||
for ( i = 0; i < 6; i++ ) {
|
||||
for ( i = 0; i < 5; i++ ) {
|
||||
if ( radeon_check_and_fixup_offset_user( dev_priv,
|
||||
filp_priv,
|
||||
&data[i] ) ) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue