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

Damien Lespiau damien.lespiau at intel.com
Fri May 9 15:36:24 CEST 2014


On Fri, May 09, 2014 at 01:08:54PM +0100, oscar.mateo at intel.com wrote:
> +	if (ring->id == RCS) {
> +		reg_state[CTX_LRI_HEADER_2] = MI_LOAD_REGISTER_IMM(1);
> +		reg_state[CTX_LRI_HEADER_2] |= MI_LRI_FORCE_POSTED;

This header doesn't have bit 12 set in BSpec.

> +		reg_state[CTX_R_PWR_CLK_STATE] = 0x20c8;
> +		reg_state[CTX_R_PWR_CLK_STATE+1] = 0;
> +#if 0
> +		/* Offsets not yet defined for these */
> +		reg_state[CTX_GPGPU_CSR_BASE_ADDRESS] = 0;
> +		reg_state[CTX_GPGPU_CSR_BASE_ADDRESS+1] = 0;
> +#endif

Remove dead code?

-- 
Damien



More information about the Intel-gfx mailing list