Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 874F06E9F6 for ; Wed, 21 Apr 2021 20:58:53 +0000 (UTC) From: "Teres Alexis, Alan Previn" Date: Wed, 21 Apr 2021 20:58:50 +0000 Message-ID: References: <20210325054549.465386-1-alan.previn.teres.alexis@intel.com> <20210325054549.465386-6-alan.previn.teres.alexis@intel.com> In-Reply-To: Content-Language: en-US Content-ID: <014A6E16933C8E4DA6A0CA12AD76F560@namprd11.prod.outlook.com> MIME-Version: 1.0 Subject: Re: [igt-dev] [PATCH i-g-t v2 05/15] Add MI_SET_APPID instruction definition List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: "Vivi, Rodrigo" Cc: "igt-dev@lists.freedesktop.org" List-ID: Thanks - will fix those up. ...alan On Wed, 2021-04-21 at 08:30 -0400, Rodrigo Vivi wrote: > On Wed, Mar 24, 2021 at 10:45:39PM -0700, Alan Previn wrote: > > Add MI_SET_APPID instruction and param definitions > > > > Signed-off-by: Alan Previn > > --- > > lib/intel_reg.h | 9 +++++++++ > > 1 file changed, 9 insertions(+) > > > > diff --git a/lib/intel_reg.h b/lib/intel_reg.h > > index ac1fc6cb..553f4839 100644 > > --- a/lib/intel_reg.h > > +++ b/lib/intel_reg.h > > @@ -2546,6 +2546,15 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE > > SOFTWARE. > > #define CTXT_PALETTE_SAVE_DISABLE (1<<3) > > #define CTXT_PALETTE_RESTORE_DISABLE (1<<2) > > > > +#define MI_SET_APPID (0x0e<<23) > > The trend is to add the new ones with space (0x0E << 23) > > > +#define APPID_CTXSAVE_INHIBIT (1<<8) > > +#define APPID_CTXREST_INHIBIT (1<<9) > > +#define DISPLAY_APPTYPE (0) > > +#define TRANSCODE_APPTYPE (1) > > +#define APPTYPE(n) ((n & 0x1)<<7) > > please remove the useless & 0x1 > > with that > > Reviewed-by: Rodrigo Vivi > > > > > +#define APPID(n) (n & 0x7f) > > + > > + > > /* Dword 0 */ > > #define MI_VERTEX_BUFFER (0x17<<23) > > #define MI_VERTEX_BUFFER_IDX(x) (x<<20) > > -- > > 2.25.1 > > > > _______________________________________________ > > igt-dev mailing list > > igt-dev@lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/igt-dev _______________________________________________ igt-dev mailing list igt-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/igt-dev