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
This commit is contained in:
@@ -165,7 +165,6 @@ struct i915_ctx_workarounds {
|
||||
};
|
||||
|
||||
struct drm_i915_gem_request;
|
||||
struct intel_render_state;
|
||||
|
||||
/*
|
||||
* Engine IDs definitions.
|
||||
@@ -307,7 +306,6 @@ struct intel_engine_cs {
|
||||
struct intel_timeline *timeline;
|
||||
|
||||
struct drm_i915_gem_object *default_state;
|
||||
struct intel_render_state *render_state;
|
||||
|
||||
atomic_t irq_count;
|
||||
unsigned long irq_posted;
|
||||
|
Reference in New Issue
Block a user