提交 b250a4c4 编写于 作者: D Damien Lespiau 提交者: Daniel Vetter

drm/i915/skl: Leave a new line between variable declarations and code

Cc: Chandra Konduru <chandra.konduru@intel.com>
Signed-off-by: NDamien Lespiau <damien.lespiau@intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 7471bf4e
...@@ -2954,6 +2954,7 @@ void skl_detach_scalers(struct intel_crtc *intel_crtc) ...@@ -2954,6 +2954,7 @@ void skl_detach_scalers(struct intel_crtc *intel_crtc)
u32 skl_plane_ctl_format(uint32_t pixel_format) u32 skl_plane_ctl_format(uint32_t pixel_format)
{ {
u32 plane_ctl_format = 0; u32 plane_ctl_format = 0;
switch (pixel_format) { switch (pixel_format) {
case DRM_FORMAT_RGB565: case DRM_FORMAT_RGB565:
plane_ctl_format = PLANE_CTL_FORMAT_RGB_565; plane_ctl_format = PLANE_CTL_FORMAT_RGB_565;
...@@ -3004,6 +3005,7 @@ u32 skl_plane_ctl_format(uint32_t pixel_format) ...@@ -3004,6 +3005,7 @@ u32 skl_plane_ctl_format(uint32_t pixel_format)
u32 skl_plane_ctl_tiling(uint64_t fb_modifier) u32 skl_plane_ctl_tiling(uint64_t fb_modifier)
{ {
u32 plane_ctl_tiling = 0; u32 plane_ctl_tiling = 0;
switch (fb_modifier) { switch (fb_modifier) {
case DRM_FORMAT_MOD_NONE: case DRM_FORMAT_MOD_NONE:
break; break;
...@@ -3025,6 +3027,7 @@ u32 skl_plane_ctl_tiling(uint64_t fb_modifier) ...@@ -3025,6 +3027,7 @@ u32 skl_plane_ctl_tiling(uint64_t fb_modifier)
u32 skl_plane_ctl_rotation(unsigned int rotation) u32 skl_plane_ctl_rotation(unsigned int rotation)
{ {
u32 plane_ctl_rotation = 0; u32 plane_ctl_rotation = 0;
switch (rotation) { switch (rotation) {
case BIT(DRM_ROTATE_0): case BIT(DRM_ROTATE_0):
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册