diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-08-11 11:54:25 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-12 09:12:59 +1000 |
commit | 618145ea5434046f0fedf50185f6ad84f9934dda (patch) | |
tree | 242db742975a0bc5e86b421676a3cc579ff018ce | |
parent | 94e3370eb9fc00c44008ee7fd30c5cb00291c34d (diff) | |
download | linux-618145ea5434046f0fedf50185f6ad84f9934dda.tar.bz2 |
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>
-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; } |