[Intel-gfx] [PATCH 19/49] drm/i915/bdw: Populate LR contexts (somewhat)

Damien Lespiau damien.lespiau at intel.com
Tue Apr 1 02:00:49 CEST 2014


On Thu, Mar 27, 2014 at 05:59:48PM +0000, oscar.mateo at intel.com wrote:
> +	if (ring->id == RCS)
> +		reg_state[CTX_LRI_HEADER_0] = MI_LOAD_REGISTER_IMM(14);
> +	else
> +		reg_state[CTX_LRI_HEADER_0] = MI_LOAD_REGISTER_IMM(11);

In the "Register State Context", this header is actually given in hex,
but has bit 12 set, shouldn't we do the same here?

-- 
Damien



More information about the Intel-gfx mailing list