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:
7471bf4
)
drm/i915/skl: Leave a new line between variable declarations and code
author
Damien Lespiau
<
[email protected]
>
Tue, 12 May 2015 15:13:13 +0000
(16:13 +0100)
committer
Daniel Vetter
<
[email protected]
>
Wed, 20 May 2015 09:25:52 +0000
(11:25 +0200)
Cc: Chandra Konduru <
[email protected]
>
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 895d7c7625845724e8d11eb4d7f39a370ffec618..f533519e0e30cf5c957a8c795ed3b9cc82fdc3d9 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-2954,6
+2954,7
@@
void skl_detach_scalers(struct intel_crtc *intel_crtc)
u32 skl_plane_ctl_format(uint32_t pixel_format)
{
u32 plane_ctl_format = 0;
+
switch (pixel_format) {
case DRM_FORMAT_RGB565:
plane_ctl_format = PLANE_CTL_FORMAT_RGB_565;
@@
-3004,6
+3005,7
@@
u32 skl_plane_ctl_format(uint32_t pixel_format)
u32 skl_plane_ctl_tiling(uint64_t fb_modifier)
{
u32 plane_ctl_tiling = 0;
+
switch (fb_modifier) {
case DRM_FORMAT_MOD_NONE:
break;
@@
-3025,6
+3027,7
@@
u32 skl_plane_ctl_tiling(uint64_t fb_modifier)
u32 skl_plane_ctl_rotation(unsigned int rotation)
{
u32 plane_ctl_rotation = 0;
+
switch (rotation) {
case BIT(DRM_ROTATE_0):
break;