diff options
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_sprite.c')
| -rw-r--r-- | drivers/gpu/drm/i915/display/intel_sprite.c | 22 | 
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_sprite.c b/drivers/gpu/drm/i915/display/intel_sprite.c index d03860fef2d7..c89f5f7ccb06 100644 --- a/drivers/gpu/drm/i915/display/intel_sprite.c +++ b/drivers/gpu/drm/i915/display/intel_sprite.c @@ -2147,7 +2147,7 @@ static int skl_plane_check_fb(const struct intel_crtc_state *crtc_state,  		case DRM_FORMAT_RGB565:  			if (INTEL_GEN(dev_priv) >= 11)  				break; -			/* fall through */ +			fallthrough;  		case DRM_FORMAT_C8:  		case DRM_FORMAT_XRGB16161616F:  		case DRM_FORMAT_XBGR16161616F: @@ -2702,7 +2702,7 @@ static bool g4x_sprite_format_mod_supported(struct drm_plane *_plane,  		if (modifier == DRM_FORMAT_MOD_LINEAR ||  		    modifier == I915_FORMAT_MOD_X_TILED)  			return true; -		/* fall through */ +		fallthrough;  	default:  		return false;  	} @@ -2733,7 +2733,7 @@ static bool snb_sprite_format_mod_supported(struct drm_plane *_plane,  		if (modifier == DRM_FORMAT_MOD_LINEAR ||  		    modifier == I915_FORMAT_MOD_X_TILED)  			return true; -		/* fall through */ +		fallthrough;  	default:  		return false;  	} @@ -2768,7 +2768,7 @@ static bool vlv_sprite_format_mod_supported(struct drm_plane *_plane,  		if (modifier == DRM_FORMAT_MOD_LINEAR ||  		    modifier == I915_FORMAT_MOD_X_TILED)  			return true; -		/* fall through */ +		fallthrough;  	default:  		return false;  	} @@ -2801,7 +2801,7 @@ static bool skl_plane_format_mod_supported(struct drm_plane *_plane,  	case DRM_FORMAT_ABGR8888:  		if (is_ccs_modifier(modifier))  			return true; -		/* fall through */ +		fallthrough;  	case DRM_FORMAT_RGB565:  	case DRM_FORMAT_XRGB2101010:  	case DRM_FORMAT_XBGR2101010: @@ -2819,7 +2819,7 @@ static bool skl_plane_format_mod_supported(struct drm_plane *_plane,  	case DRM_FORMAT_XVYU2101010:  		if (modifier == I915_FORMAT_MOD_Yf_TILED)  			return true; -		/* fall through */ +		fallthrough;  	case DRM_FORMAT_C8:  	case DRM_FORMAT_XBGR16161616F:  	case DRM_FORMAT_ABGR16161616F: @@ -2834,7 +2834,7 @@ static bool skl_plane_format_mod_supported(struct drm_plane *_plane,  		    modifier == I915_FORMAT_MOD_X_TILED ||  		    modifier == I915_FORMAT_MOD_Y_TILED)  			return true; -		/* fall through */ +		fallthrough;  	default:  		return false;  	} @@ -2860,7 +2860,7 @@ static bool gen12_plane_format_mod_supported(struct drm_plane *_plane,  	case I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS:  		if (!gen12_plane_supports_mc_ccs(dev_priv, plane->id))  			return false; -		/* fall through */ +		fallthrough;  	case DRM_FORMAT_MOD_LINEAR:  	case I915_FORMAT_MOD_X_TILED:  	case I915_FORMAT_MOD_Y_TILED: @@ -2877,7 +2877,7 @@ static bool gen12_plane_format_mod_supported(struct drm_plane *_plane,  	case DRM_FORMAT_ABGR8888:  		if (is_ccs_modifier(modifier))  			return true; -		/* fall through */ +		fallthrough;  	case DRM_FORMAT_YUYV:  	case DRM_FORMAT_YVYU:  	case DRM_FORMAT_UYVY: @@ -2889,7 +2889,7 @@ static bool gen12_plane_format_mod_supported(struct drm_plane *_plane,  	case DRM_FORMAT_P016:  		if (modifier == I915_FORMAT_MOD_Y_TILED_GEN12_MC_CCS)  			return true; -		/* fall through */ +		fallthrough;  	case DRM_FORMAT_RGB565:  	case DRM_FORMAT_XRGB2101010:  	case DRM_FORMAT_XBGR2101010: @@ -2910,7 +2910,7 @@ static bool gen12_plane_format_mod_supported(struct drm_plane *_plane,  		    modifier == I915_FORMAT_MOD_X_TILED ||  		    modifier == I915_FORMAT_MOD_Y_TILED)  			return true; -		/* fall through */ +		fallthrough;  	default:  		return false;  	}  |