Patch "drm/i915/gtt: Enable full-ppgtt by default everywhere" has been added to the 4.19-stable tree

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

 



This is a note to let you know that I've just added the patch titled

    drm/i915/gtt: Enable full-ppgtt by default everywhere

to the 4.19-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-i915-gtt-enable-full-ppgtt-by-default-everywhere.patch
and it can be found in the queue-4.19 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit c7c86da98184db682dbccd378c003911da94f178
Author: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Date:   Tue Jul 17 10:57:50 2018 +0100

    drm/i915/gtt: Enable full-ppgtt by default everywhere
    
    [ Upstream commit 79556df293b2efbb3ccebb6db02120d62e348b44 ]
    
    We should we have all the kinks worked out and full-ppgtt now works
    reliably on gen7 (Ivybridge, Valleyview/Baytrail and Haswell). If we can
    let userspace have full control over their own ppgtt, it makes softpinning
    far more effective, in turn making GPU dispatch far more efficient by
    virtue of better mm segregation.  On the other hand, switching over to a
    different GTT for every client does incur noticeable overhead, but only
    for very lightweight tasks.
    
    Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
    Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
    Cc: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx>
    Cc: Matthew Auld <matthew.william.auld@xxxxxxxxx>
    Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
    Cc: Jason Ekstrand <jason.ekstrand@xxxxxxxxx>
    Cc: Kenneth Graunke <kenneth@xxxxxxxxxxxxx>
    Acked-by: Kenneth Graunke <kenneth@xxxxxxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20180717095751.1034-1-chris@xxxxxxxxxxxxxxxxxx
    Stable-dep-of: ffcde9e44d3e ("drm: fsl-dcu: enable PIXCLK on LS1021A")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index d4c6aa7fbac8d..0b5b45fe0fe78 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -180,13 +180,11 @@ int intel_sanitize_enable_ppgtt(struct drm_i915_private *dev_priv,
 		return 0;
 	}
 
-	if (HAS_LOGICAL_RING_CONTEXTS(dev_priv)) {
-		if (has_full_48bit_ppgtt)
-			return 3;
+	if (has_full_48bit_ppgtt)
+		return 3;
 
-		if (has_full_ppgtt)
-			return 2;
-	}
+	if (has_full_ppgtt)
+		return 2;
 
 	return 1;
 }




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux