Re: [PATCH v4 5/6] drm/i915/gen8: Add WaClearSlmSpaceAtContextSwitch workaround

Chris Wilson
2015-06-16T20:35:11Z

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