[Intel-gfx] [PATCH 6/9] drm/i915: BUG on impossible pch dp port

Paulo Zanoni przanoni at gmail.com
Fri Oct 26 17:04:29 CEST 2012


Hi

2012/10/26 Daniel Vetter <daniel.vetter at ffwll.ch>:
> Since it is one. We need to move this code to encoder specific callbacks
> eventually, to kill all that inversion of control ...
>
> Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>

Reviewed-by: Paulo Zanoni <paulo.r.zanoni at intel.com>

> ---
>  drivers/gpu/drm/i915/intel_display.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 8ab0fa5..991adc1 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -3092,9 +3092,7 @@ static void ironlake_pch_enable(struct drm_crtc *crtc)
>                         temp |= TRANS_DP_PORT_SEL_D;
>                         break;
>                 default:
> -                       DRM_DEBUG_KMS("Wrong PCH DP port return. Guess port B\n");
> -                       temp |= TRANS_DP_PORT_SEL_B;
> -                       break;
> +                       BUG();
>                 }
>
>                 I915_WRITE(reg, temp);
> --
> 1.7.11.4
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Paulo Zanoni



More information about the Intel-gfx mailing list