diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-08-11 17:54:25 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-12 01:12:59 +0200 |
commit | 618145ea5434046f0fedf50185f6ad84f9934dda (patch) | |
tree | 242db742975a0bc5e86b421676a3cc579ff018ce /drivers/gpu/drm | |
parent | DRM: Replace kmalloc/memset combos with kzalloc (diff) | |
download | linux-618145ea5434046f0fedf50185f6ad84f9934dda.tar.xz linux-618145ea5434046f0fedf50185f6ad84f9934dda.zip |
drm/radeon/kms: another r6xx/r7xx CS checker fix
add default case for buffer formats
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: Andre Maasikas <amaasikas@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/radeon/r600_cs.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |