Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/dsb: Remove PIN_MAPPABLE from the DSB object VMA
@ 2019-10-17 15:58 Tvrtko Ursulin
  2019-10-17 20:41 ` ✗ Fi.CI.BAT: failure for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Tvrtko Ursulin @ 2019-10-17 15:58 UTC (permalink / raw)
  To: Intel-gfx

From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>

It sounds like the hardware only needs the DSB object to be in global GTT
and not in the mappable region.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Animesh Manna <animesh.manna@intel.com>
---
 drivers/gpu/drm/i915/display/intel_dsb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dsb.c b/drivers/gpu/drm/i915/display/intel_dsb.c
index bb5a0e91b370..d8ad5fe1efef 100644
--- a/drivers/gpu/drm/i915/display/intel_dsb.c
+++ b/drivers/gpu/drm/i915/display/intel_dsb.c
@@ -119,7 +119,7 @@ intel_dsb_get(struct intel_crtc *crtc)
 		goto err;
 	}
 
-	vma = i915_gem_object_ggtt_pin(obj, NULL, 0, 0, PIN_MAPPABLE);
+	vma = i915_gem_object_ggtt_pin(obj, NULL, 0, 0, 0);
 	if (IS_ERR(vma)) {
 		DRM_ERROR("Vma creation failed\n");
 		i915_gem_object_put(obj);
-- 
2.20.1

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

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

end of thread, other threads:[~2019-11-03  2:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-17 15:58 [PATCH] drm/i915/dsb: Remove PIN_MAPPABLE from the DSB object VMA Tvrtko Ursulin
2019-10-17 20:41 ` ✗ Fi.CI.BAT: failure for " Patchwork
2019-10-18 15:44 ` ✗ Fi.CI.BAT: failure for drm/i915/dsb: Remove PIN_MAPPABLE from the DSB object VMA (rev2) Patchwork
2019-10-25 15:22 ` [PATCH] drm/i915/dsb: Remove PIN_MAPPABLE from the DSB object VMA Animesh Manna
2019-10-25 15:22   ` [Intel-gfx] " Animesh Manna
2019-10-29 13:20   ` Animesh Manna
2019-10-29 13:20     ` [Intel-gfx] " Animesh Manna
2019-11-01 16:57 ` ✓ Fi.CI.BAT: success for drm/i915/dsb: Remove PIN_MAPPABLE from the DSB object VMA (rev3) Patchwork
2019-11-01 16:57   ` [Intel-gfx] " Patchwork
2019-11-03  2:01 ` ✓ Fi.CI.IGT: " Patchwork
2019-11-03  2:01   ` [Intel-gfx] " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox