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-Url: https://git.stricted.de/?a=commitdiff_plain;h=618145ea5434046f0fedf50185f6ad84f9934dda;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 52b52529ff31..8e165b22a33d 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; }