From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94864C433B4 for ; Tue, 11 May 2021 15:13:04 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 09023613DE for ; Tue, 11 May 2021 15:13:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 09023613DE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 609A86EA59; Tue, 11 May 2021 15:13:03 +0000 (UTC) Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by gabe.freedesktop.org (Postfix) with ESMTPS id DFA2B6E0AF for ; Tue, 11 May 2021 15:13:01 +0000 (UTC) Received: by mail-ej1-x62d.google.com with SMTP id zg3so30330120ejb.8 for ; Tue, 11 May 2021 08:13:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ik4fQq3wXEcE9WqYP+rg+5V8mDoz7waC0/PsoWo+xXs=; b=E/9T4Zp3wM0DxziXJ9XmZvnNb0x2kfhPzNIfNyIHD7LowB2GbvB323jq677MXWJJQ1 RWzzGBcyL9YL8GHpTFrxx2Mqez7PgXifmXco+Yc1ft8aqhxxri7O7npkISLUGLnFN2+p pJrHE49dsWnffpdqVSC+vcwKJHqUG1WYox9M0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=ik4fQq3wXEcE9WqYP+rg+5V8mDoz7waC0/PsoWo+xXs=; b=VZ6MBo2Rk5tL4dDuQ/GTHbvrc31n+rI14I0jeKmylci9XHZ8+mN0/OdUpB/3x+Kqmo dW1SzQYN5ES5f8yj0yWh3ojcXLj2yfRVMvvghDgdUDG4b5zF7bPAb9siz5X1f83Layvi KS1IiPXIzmKMGUdOv9VpibJIb+t4dCpSC/Bz31tJ00zvH8LjfeZLXukX5YhQDnCEkipV cNbu1KjdZg9h15ADxCZkyx13LiNkh36UM2AOO3oPEI7ih4e0jP8lZ8rZC0OygdRnHWt+ d/vtsquM61/bVfoQlptj3u6DsER1QlEx5BB+/gzKtqa1usYGsBGoQjBx1j2poTdb2qgk T7dQ== X-Gm-Message-State: AOAM531HwZR5myuuB/ZwMDLs8ajkj1zrPverYeNOLBhqDq1iYIN3rdRY 4CeDaJ6lSstxjhR6BmrAEWPUiA== X-Google-Smtp-Source: ABdhPJwIFlY/J1RVv7s5hxxaaLromAN0smhld1zIbXQWTkPSxyF7s7+79pHBOfVeGgj0xIBcZ7awVA== X-Received: by 2002:a17:906:a88f:: with SMTP id ha15mr10374074ejb.246.1620745980588; Tue, 11 May 2021 08:13:00 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id di7sm524007edb.34.2021.05.11.08.12.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 May 2021 08:13:00 -0700 (PDT) Date: Tue, 11 May 2021 17:12:58 +0200 From: Daniel Vetter To: Daniel Stone Message-ID: References: <20210506173049.72503-1-matthew.brost@intel.com> <20210506173049.72503-2-matthew.brost@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 5.10.32scarlett+ Subject: Re: [Intel-gfx] [RFC PATCH 1/5] drm/doc/rfc: i915 GuC submission / DRM scheduler integration plan X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx , dri-devel , carl.zhang@intel.com, Jason Ekstrand , "Vetter, Daniel" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Tue, May 11, 2021 at 03:58:43PM +0100, Daniel Stone wrote: > Hi, > > On Tue, 11 May 2021 at 15:34, Daniel Vetter wrote: > > On Thu, May 06, 2021 at 10:30:45AM -0700, Matthew Brost wrote: > > > +No major changes are required to the uAPI for basic GuC submission. The only > > > +change is a new scheduler attribute: I915_SCHEDULER_CAP_STATIC_PRIORITY_MAP. > > > +This attribute indicates the 2k i915 user priority levels are statically mapped > > > +into 3 levels as follows: > > > + > > > +* -1k to -1 Low priority > > > +* 0 Medium priority > > > +* 1 to 1k High priority > > > + > > > +This is needed because the GuC only has 4 priority bands. The highest priority > > > +band is reserved with the kernel. This aligns with the DRM scheduler priority > > > +levels too. > > > > Please Cc: mesa and get an ack from Jason Ekstrand or Ken Graunke on this, > > just to be sure. > > A reference to the actual specs this targets would help. I don't have > oneAPI to hand if it's relevant, but the two in graphics world are > https://www.khronos.org/registry/EGL/extensions/IMG/EGL_IMG_context_priority.txt > and https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap5.html#devsandqueues-priority > - both of them pretty much say that the implementation may do anything > or nothing at all, so this isn't a problem for spec conformance, only > a matter of user priority (sorry). Good point, Matt please also include the level0 spec here (aside from egl/vk extensions). Might need to ping Michal Mrozek internally and cc: him on this one here too. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx