[Intel-gfx] [PATCH 48/71] drm/i915/chv: Add plane C support

Daniel Vetter daniel at ffwll.ch
Wed Apr 9 18:01:18 CEST 2014


On Wed, Apr 09, 2014 at 01:28:46PM +0300, ville.syrjala at linux.intel.com wrote:
> From: Rafael Barbalho <rafael.barbalho at intel.com>
> 
> The i9xx_update_plane function was rejecting plane C when it is now a
> valid plane.
> 
> Signed-off-by: Rafael Barbalho <rafael.barbalho at intel.com>
> [vsyrjala: Use PLANE_C instead of the number 2]
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

We've just recently nuked this, it's a remnant from the sarea update code.
-Daniel

> ---
>  drivers/gpu/drm/i915/intel_display.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 9b65a04..51d9079 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -2351,6 +2351,7 @@ static int i9xx_update_primary_plane(struct drm_crtc *crtc,
>  	switch (plane) {
>  	case PLANE_A:
>  	case PLANE_B:
> +	case PLANE_C:
>  		break;
>  	default:
>  		DRM_ERROR("Can't update plane %c\n", plane_name(plane));
> -- 
> 1.8.3.2
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list