From: Damien Lespiau Subject: Re: [PATCH 19/49] drm/i915/bdw: Populate LR contexts (somewhat) Date: Tue, 1 Apr 2014 01:00:49 +0100 Message-ID: <20140401000049.GJ2545@strange.amr.corp.intel.com> References: <1395943218-7708-1-git-send-email-oscar.mateo@intel.com> <1395943218-7708-20-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 E1A006E45E for ; Mon, 31 Mar 2014 17:01:48 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1395943218-7708-20-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 Thu, Mar 27, 2014 at 05:59:48PM +0000, oscar.mateo@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