Re: [PATCH 12/49] drm/i915/bxt: HardWare WorkAround ring initialisation for Broxton

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

 



On 17/03/2015 09:39, Imre Deak wrote:
From: Nick Hoath <nicholas.hoath@xxxxxxxxx>

Adds framework for Broxton HW WAs

Signed-off-by: Nick Hoath <nicholas.hoath@xxxxxxxxx>
Signed-off-by: Imre Deak <imre.deak@xxxxxxxxx>

Reviewed-by: Nick Hoath <nicholas.hoath@xxxxxxxxx>

---
  drivers/gpu/drm/i915/intel_ringbuffer.c | 12 ++++++++++--
  1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 441e250..abe062a 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -1027,6 +1027,13 @@ static int skl_init_workarounds(struct intel_engine_cs *ring)
  	return skl_tune_iz_hashing(ring);
  }

+static int bxt_init_workarounds(struct intel_engine_cs *ring)
+{
+	gen9_init_workarounds(ring);
+
+	return 0;
+}
+
  int init_workarounds_ring(struct intel_engine_cs *ring)
  {
  	struct drm_device *dev = ring->dev;
@@ -1044,8 +1051,9 @@ int init_workarounds_ring(struct intel_engine_cs *ring)

  	if (IS_SKYLAKE(dev))
  		return skl_init_workarounds(ring);
-	else if (IS_GEN9(dev))
-		return gen9_init_workarounds(ring);
+
+	if (IS_BROXTON(dev))
+		return bxt_init_workarounds(ring);

  	return 0;
  }


_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://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