projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65438bc
)
drm/i915/skl: Replace BUG() by MISSING_CASE() in skl_plane_ctl_format()
author
Damien Lespiau
<
[email protected]
>
Tue, 12 May 2015 15:13:16 +0000
(16:13 +0100)
committer
Daniel Vetter
<
[email protected]
>
Wed, 20 May 2015 09:25:53 +0000
(11:25 +0200)
Let's be consistent with the others skl_plane_ctl_*() functions and use
a MISSING_CASE(). Not only that, but it's a rude to BUG() the whole
machine here.
Signed-off-by: Damien Lespiau <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/intel_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index e2b01d9b504b4b41f09423a333989dafd1daab70..49d722795ab7d8ac9019cc9b8fc77584a1e43a59 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-2997,7
+2997,7
@@
u32 skl_plane_ctl_format(uint32_t pixel_format)
format = PLANE_CTL_FORMAT_YUV422 | PLANE_CTL_YUV422_VYUY;
break;
default:
-
BUG(
);
+
MISSING_CASE(pixel_format
);
}
return format;