From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id 62C7B7390F for ; Tue, 2 Nov 2021 22:50:42 +0000 (UTC) Date: Tue, 02 Nov 2021 15:48:53 -0700 Message-ID: <87v91akwbu.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" In-Reply-To: <871r3ymknq.wl-ashutosh.dixit@intel.com> References: <8da5f8f799245a0dac45ea96c0a3f992a285352e.1635395331.git.ashutosh.dixit@intel.com> <87pmrosmc6.wl-ashutosh.dixit@intel.com> <688f0a5a-c1c1-97d8-1f75-e8a69a0fa8e2@intel.com> <871r3ymknq.wl-ashutosh.dixit@intel.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Subject: Re: [igt-dev] [PATCH i-g-t 1/3] lib/i915: Return actual submission method from gem_submission_method List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: John Harrison Cc: igt-dev@lists.freedesktop.org List-ID: On Tue, 02 Nov 2021 12:18:01 -0700, Dixit, Ashutosh wrote: > > I think I am going to do this. Also, has_semaphores() calls here in i915: > > int i915_getparam_ioctl() > { > ... > case I915_PARAM_HAS_SEMAPHORES: > value = !!(i915->caps.scheduler & I915_SCHEDULER_CAP_SEMAPHORES); > break; > > But appears I915_SCHEDULER_CAP_SEMAPHORES bits are never set in > caps.scheduler so has_semaphores() should always be returning zero. Sorry I am wrong, I915_SCHEDULER_CAP_SEMAPHORES is set in i915 set_scheduler_caps() and gem_busy@semaphores tests run in CI.