All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Fix logical inversion for gen4 quirking
@ 2017-05-21 12:40 Chris Wilson
  2017-05-21 12:59 ` ✓ Fi.CI.BAT: success for " Patchwork
  2017-05-22  5:55 ` [PATCH] " Joonas Lahtinen
  0 siblings, 2 replies; 4+ messages in thread
From: Chris Wilson @ 2017-05-21 12:40 UTC (permalink / raw)
  To: intel-gfx

The assertion that we want to make before disabling the pin of the pages
for the unknown swizzling quirk is that the quirk is indeed active.

Fixes: 2c3a3f44dc13 ("drm/i915: Fix pages pin counting around swizzle quirk")
Fixes: 957870f93412 ("drm/i915: Split out i915_gem_object_set_tiling()")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
---
 drivers/gpu/drm/i915/i915_gem_tiling.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_gem_tiling.c b/drivers/gpu/drm/i915/i915_gem_tiling.c
index a0d6d4317a49..fb5231f98c0d 100644
--- a/drivers/gpu/drm/i915/i915_gem_tiling.c
+++ b/drivers/gpu/drm/i915/i915_gem_tiling.c
@@ -278,7 +278,7 @@ i915_gem_object_set_tiling(struct drm_i915_gem_object *obj,
 			obj->mm.quirked = false;
 		}
 		if (!i915_gem_object_is_tiled(obj)) {
-			GEM_BUG_ON(!obj->mm.quirked);
+			GEM_BUG_ON(obj->mm.quirked);
 			__i915_gem_object_pin_pages(obj);
 			obj->mm.quirked = true;
 		}
-- 
2.11.0

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* ✓ Fi.CI.BAT: success for drm/i915: Fix logical inversion for gen4 quirking
  2017-05-21 12:40 [PATCH] drm/i915: Fix logical inversion for gen4 quirking Chris Wilson
@ 2017-05-21 12:59 ` Patchwork
  2017-05-22  5:55 ` [PATCH] " Joonas Lahtinen
  1 sibling, 0 replies; 4+ messages in thread
From: Patchwork @ 2017-05-21 12:59 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: drm/i915: Fix logical inversion for gen4 quirking
URL   : https://patchwork.freedesktop.org/series/24749/
State : success

== Summary ==

Series 24749v1 drm/i915: Fix logical inversion for gen4 quirking
https://patchwork.freedesktop.org/api/1.0/series/24749/revisions/1/mbox/

Test gem_exec_flush:
        Subgroup basic-batch-kernel-default-uc:
                pass       -> FAIL       (fi-snb-2600) fdo#100007

fdo#100007 https://bugs.freedesktop.org/show_bug.cgi?id=100007

fi-bdw-5557u     total:278  pass:267  dwarn:0   dfail:0   fail:0   skip:11  time:445s
fi-bdw-gvtdvm    total:278  pass:256  dwarn:8   dfail:0   fail:0   skip:14  time:438s
fi-bsw-n3050     total:278  pass:242  dwarn:0   dfail:0   fail:0   skip:36  time:592s
fi-bxt-j4205     total:278  pass:259  dwarn:0   dfail:0   fail:0   skip:19  time:520s
fi-byt-j1900     total:278  pass:254  dwarn:0   dfail:0   fail:0   skip:24  time:494s
fi-byt-n2820     total:278  pass:250  dwarn:0   dfail:0   fail:0   skip:28  time:483s
fi-hsw-4770      total:278  pass:262  dwarn:0   dfail:0   fail:0   skip:16  time:419s
fi-hsw-4770r     total:278  pass:262  dwarn:0   dfail:0   fail:0   skip:16  time:408s
fi-ilk-650       total:278  pass:228  dwarn:0   dfail:0   fail:0   skip:50  time:420s
fi-ivb-3520m     total:278  pass:260  dwarn:0   dfail:0   fail:0   skip:18  time:486s
fi-ivb-3770      total:278  pass:260  dwarn:0   dfail:0   fail:0   skip:18  time:474s
fi-kbl-7500u     total:278  pass:255  dwarn:5   dfail:0   fail:0   skip:18  time:463s
fi-skl-6260u     total:278  pass:268  dwarn:0   dfail:0   fail:0   skip:10  time:457s
fi-skl-6700hq    total:278  pass:261  dwarn:0   dfail:0   fail:0   skip:17  time:583s
fi-skl-6700k     total:278  pass:256  dwarn:4   dfail:0   fail:0   skip:18  time:467s
fi-skl-6770hq    total:278  pass:268  dwarn:0   dfail:0   fail:0   skip:10  time:500s
fi-skl-gvtdvm    total:278  pass:265  dwarn:0   dfail:0   fail:0   skip:13  time:442s
fi-snb-2520m     total:278  pass:250  dwarn:0   dfail:0   fail:0   skip:28  time:544s
fi-snb-2600      total:278  pass:248  dwarn:0   dfail:0   fail:1   skip:29  time:409s

b3bb44f6882d7ba6e1ae2fab5ab2c49b38cddd5e drm-tip: 2017y-05m-19d-19h-37m-15s UTC integration manifest
0bd115b drm/i915: Fix logical inversion for gen4 quirking

== Logs ==

For more details see: https://intel-gfx-ci.01.org/CI/Patchwork_4761/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/i915: Fix logical inversion for gen4 quirking
  2017-05-21 12:40 [PATCH] drm/i915: Fix logical inversion for gen4 quirking Chris Wilson
  2017-05-21 12:59 ` ✓ Fi.CI.BAT: success for " Patchwork
@ 2017-05-22  5:55 ` Joonas Lahtinen
  2017-06-01 13:28   ` Chris Wilson
  1 sibling, 1 reply; 4+ messages in thread
From: Joonas Lahtinen @ 2017-05-22  5:55 UTC (permalink / raw)
  To: Chris Wilson, intel-gfx

On su, 2017-05-21 at 13:40 +0100, Chris Wilson wrote:
> The assertion that we want to make before disabling the pin of the pages
> for the unknown swizzling quirk is that the quirk is indeed active.
> 
> Fixes: 2c3a3f44dc13 ("drm/i915: Fix pages pin counting around swizzle quirk")
> Fixes: 957870f93412 ("drm/i915: Split out i915_gem_object_set_tiling()")
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/i915: Fix logical inversion for gen4 quirking
  2017-05-22  5:55 ` [PATCH] " Joonas Lahtinen
@ 2017-06-01 13:28   ` Chris Wilson
  0 siblings, 0 replies; 4+ messages in thread
From: Chris Wilson @ 2017-06-01 13:28 UTC (permalink / raw)
  To: Joonas Lahtinen; +Cc: intel-gfx

On Mon, May 22, 2017 at 08:55:09AM +0300, Joonas Lahtinen wrote:
> On su, 2017-05-21 at 13:40 +0100, Chris Wilson wrote:
> > The assertion that we want to make before disabling the pin of the pages
> > for the unknown swizzling quirk is that the quirk is indeed active.
> > 
> > Fixes: 2c3a3f44dc13 ("drm/i915: Fix pages pin counting around swizzle quirk")
> > Fixes: 957870f93412 ("drm/i915: Split out i915_gem_object_set_tiling()")
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> > Cc: Chris Wilson <chris@chris-wilson.co.uk>
> > Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
> > Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> 
> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>

And pushed, thanks for the review.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-01 13:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-21 12:40 [PATCH] drm/i915: Fix logical inversion for gen4 quirking Chris Wilson
2017-05-21 12:59 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-05-22  5:55 ` [PATCH] " Joonas Lahtinen
2017-06-01 13:28   ` Chris Wilson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.