drm/i915/dsb: Remove PIN_MAPPABLE from the DSB object VMA
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 17 Oct 2019 15:58:10 +0000 (16:58 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 6 Nov 2019 09:27:27 +0000 (09:27 +0000)
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>
Reviewed-by: Animesh Manna <animesh.manna@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191017155810.21654-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/display/intel_dsb.c

index bb5a0e91b370aa43ec89021c2f70684065dffe83..d8ad5fe1efef0e9fb855c9d8686f3cc8f84038d6 100644 (file)
@@ -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);