Skip to contentSkip to conversation

drm/radeon/kms: another r6xx/r7xx CS checker fix

PATCH New Alex Deucher 1 participant 1 message Aug 11, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/radeon/kms: another r6xx/r7xx CS checker fix

add default case for buffer formats

Cc Andre Maasikas <[email protected]>
---
 drivers/gpu/drm/radeon/r600_cs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/gpu/drm/radeon/r600_cs.c +1 -0
index 52b5252..8e165b2 100644
@@ -133,6 +133,7 @@ static inline int r600_bpe_from_format(u32 *bpe, u32 format)
 	case V_038004_FMT_GB_GR:
 	case V_038004_FMT_BG_RG:
 	case V_038004_COLOR_INVALID:
+	default:
 		*bpe = 16;
 		return -EINVAL;
 	}
Signature · 1 line
1.7.1.1