diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-11-10 14:26:34 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-11-10 17:23:22 +0000 |
commit | 7c2fa7faf18f80f9fbbe7fcad8072604304db5dd (patch) | |
tree | 6a4a2ccbbbe05548d52582ba8ddee8496fb391bc /drivers/gpu/drm/i915/intel_ringbuffer.c | |
parent | d2b4b97933f5adacfba42dc3b9200d0e21fbe2c4 (diff) | |
download | talos-obmc-linux-7c2fa7faf18f80f9fbbe7fcad8072604304db5dd.tar.gz talos-obmc-linux-7c2fa7faf18f80f9fbbe7fcad8072604304db5dd.zip |
drm/i915: Stop caching the "golden" renderstate
As we now record the default HW state and so only emit the "golden"
renderstate once to prepare the HW, there is no advantage in keeping the
renderstate batch around as it will never be used again.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171110142634.10551-8-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_ringbuffer.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index 464dc58af27b..3321b801e77d 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c @@ -28,9 +28,12 @@ */ #include <linux/log2.h> + #include <drm/drmP.h> -#include "i915_drv.h" #include <drm/i915_drm.h> + +#include "i915_drv.h" +#include "i915_gem_render_state.h" #include "i915_trace.h" #include "intel_drv.h" |