Re: [PATCH 01/24] drm/i915/icl: Extend AUX F interrupts to ICL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




>-----Original Message-----
>From: Zanoni, Paulo R
>Sent: Monday, May 21, 2018 5:26 PM
>To: intel-gfx@xxxxxxxxxxxxxxxxxxxxx
>Cc: Pandiyan, Dhinakaran <dhinakaran.pandiyan@xxxxxxxxx>; Zanoni, Paulo R
><paulo.r.zanoni@xxxxxxxxx>; Srivatsa, Anusha <anusha.srivatsa@xxxxxxxxx>
>Subject: [PATCH 01/24] drm/i915/icl: Extend AUX F interrupts to ICL
>
>From: Dhinakaran Pandiyan <dhinakaran.pandiyan@xxxxxxxxx>
>
>ICL has AUX F.
>
>Cc: Paulo Zanoni <paulo.r.zanoni@xxxxxxxxx>
>Cc: Anusha Srivatsa <anusha.srivatsa@xxxxxxxxx>
>Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@xxxxxxxxx>
>Signed-off-by: Paulo Zanoni <paulo.r.zanoni@xxxxxxxxx>
Looks good.

Reviewed-by: Anusha Srivatsa <anusha.srivatsa@xxxxxxxxx>
>---
> drivers/gpu/drm/i915/i915_irq.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
>diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
>index f9bc3aaa90d0..2fd92a886789 100644
>--- a/drivers/gpu/drm/i915/i915_irq.c
>+++ b/drivers/gpu/drm/i915/i915_irq.c
>@@ -2640,7 +2640,8 @@ gen8_de_irq_handler(struct drm_i915_private
>*dev_priv, u32 master_ctl)
> 					    GEN9_AUX_CHANNEL_C |
> 					    GEN9_AUX_CHANNEL_D;
>
>-			if (IS_CNL_WITH_PORT_F(dev_priv))
>+			if (IS_CNL_WITH_PORT_F(dev_priv) ||
>+			    INTEL_GEN(dev_priv) >= 11)
> 				tmp_mask |= CNL_AUX_CHANNEL_F;
>
> 			if (iir & tmp_mask) {
>@@ -3920,7 +3921,7 @@ static void gen8_de_irq_postinstall(struct
>drm_i915_private *dev_priv)
> 		de_pipe_masked |= GEN8_DE_PIPE_IRQ_FAULT_ERRORS;
> 	}
>
>-	if (IS_CNL_WITH_PORT_F(dev_priv))
>+	if (IS_CNL_WITH_PORT_F(dev_priv) || INTEL_GEN(dev_priv) >= 11)
> 		de_port_masked |= CNL_AUX_CHANNEL_F;
>
> 	de_pipe_enables = de_pipe_masked | GEN8_PIPE_VBLANK |
>--
>2.14.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux