[01/10] drm/i915/skl: Leave a new line between variable declarations and code
diff mbox

Message ID 1431443602-22886-2-git-send-email-damien.lespiau@intel.com
State New
Headers show

Commit Message

Lespiau, Damien May 12, 2015, 3:13 p.m. UTC
Cc: Chandra Konduru <chandra.konduru@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 drivers/gpu/drm/i915/intel_display.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Chandra Konduru May 14, 2015, 5:19 a.m. UTC | #1
Reviewed-by: Chandra Konduru <chandra.konduru@intel.com>

> -----Original Message-----
> From: Lespiau, Damien
> Sent: Tuesday, May 12, 2015 8:13 AM
> To: intel-gfx@lists.freedesktop.org
> Cc: Konduru, Chandra
> Subject: [PATCH 01/10] drm/i915/skl: Leave a new line between variable
> declarations and code
> 
> Cc: Chandra Konduru <chandra.konduru@intel.com>
> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
> ---
>  drivers/gpu/drm/i915/intel_display.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/intel_display.c
> b/drivers/gpu/drm/i915/intel_display.c
> index 895d7c7..f533519 100644
> --- 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;
> --
> 2.1.0

Patch
diff mbox

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 895d7c7..f533519 100644
--- 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;