From: Alex Deucher Date: Wed, 11 Aug 2010 15:54:25 +0000 (-0400) Subject: drm/radeon/kms: another r6xx/r7xx CS checker fix X-Git-Tag: v3.0~3480^2~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=618145ea5434046f0fedf50185f6ad84f9934dda;p=platform%2Fkernel%2Flinux-amlogic.git drm/radeon/kms: another r6xx/r7xx CS checker fix add default case for buffer formats Signed-off-by: Alex Deucher Cc: Andre Maasikas Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/radeon/r600_cs.c b/drivers/gpu/drm/radeon/r600_cs.c index 52b52529..8e165b2 100644 --- a/drivers/gpu/drm/radeon/r600_cs.c +++ b/drivers/gpu/drm/radeon/r600_cs.c @@ -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; }