[Intel-gfx] [PATCH v4 5/6] drm/i915/gen8: Add WaClearSlmSpaceAtContextSwitch workaround

Chris Wilson chris at chris-wilson.co.uk
Tue Jun 16 13:35:08 PDT 2015


On Tue, Jun 16, 2015 at 08:25:24PM +0100, Arun Siluvery wrote:
> @@ -1085,6 +1085,8 @@ static int gen8_init_indirectctx_bb(struct intel_engine_cs *ring,
>  	uint32_t index;
>  	struct page *page;
>  	uint32_t *cmd;
> +	u32 scratch_addr;
> +	unsigned long flags = 0;

flags can only be a u32 since it is a dword field.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list