projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94e3370
)
drm/radeon/kms: another r6xx/r7xx CS checker fix
author
Alex Deucher
<alexdeucher@gmail.com>
Wed, 11 Aug 2010 15:54:25 +0000
(11:54 -0400)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 11 Aug 2010 23:12:59 +0000
(09:12 +1000)
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>
drivers/gpu/drm/radeon/r600_cs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/r600_cs.c
b/drivers/gpu/drm/radeon/r600_cs.c
index 52b52529ff314ea998bfce3f75bf1d2fbaae534a..8e165b22a33d283c4a008d8ef2f27911eaffaf6d 100644
(file)
--- 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;
}