From: Damien Lespiau Subject: Re: [PATCH 24/50] drm/i915/bdw: Populate LR contexts (somewhat) Date: Fri, 9 May 2014 14:36:24 +0100 Message-ID: <20140509133624.GB31479@strange.amr.corp.intel.com> References: <1399637360-4277-1-git-send-email-oscar.mateo@intel.com> <1399637360-4277-25-git-send-email-oscar.mateo@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 440BD6EFA1 for ; Fri, 9 May 2014 06:36:34 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1399637360-4277-25-git-send-email-oscar.mateo@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: oscar.mateo@intel.com Cc: intel-gfx@lists.freedesktop.org, Ben Widawsky , Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org On Fri, May 09, 2014 at 01:08:54PM +0100, oscar.mateo@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