From patchwork Wed Sep 5 14:22:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 10588969 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 40AFD5A4 for ; Wed, 5 Sep 2018 14:22:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DF7A2A2DA for ; Wed, 5 Sep 2018 14:22:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21C8E2A306; Wed, 5 Sep 2018 14:22:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C51CA2A2DA for ; Wed, 5 Sep 2018 14:22:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CC3F36E4BD; Wed, 5 Sep 2018 14:22:33 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 560236E4BD for ; Wed, 5 Sep 2018 14:22:32 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id v16-v6so7839868wro.11 for ; Wed, 05 Sep 2018 07:22:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=l42Ddko/JZcjBSWUrCuvjjI8nf/iKTasNFnRo1DjrYo=; b=d6Ukq7N8y1vip5JAhQJ4eD7wQT2hcSl0KAmT6nSCKFpZfgTe5H3VoiTSehijix0Aec ToD+vpcaSXX8LZkfHCGv0/jCHt8zVZIyNwmzvyZ4Fa26rb2qXqa3kqCWp8pZMdCFnP1M plpUB+Rh8gi1a7U79dEWbMNPcvpgjBWPdRDXXI7HlEpQA4hMqr+9Th/dK1pHXHy6LdQa YeT3fXvMRu1etztxjElU/A6CzNPoiVJfz20u4miHB/VaU4IdylKubp8HI49tFBhHU4tq Oq6MLiv0rGLFCE+XibuLj1NQaLW7zpgLcpajXZWNRr/Ws63vnE67XLQTyPSA4+DIUiZr OMWg== X-Gm-Message-State: APzg51DEwju+wbxxXi/AVw95eLlZyiWiOfAmlJnhAkBNVi8MRlsvbUOR XZbbd8kiiTzArxhRh7FPUKTbI85vhyg= X-Google-Smtp-Source: ANB0VdYhPBaEmvQ4YekWgFDLkiA7Qjh1vj0Kj3Wq1MkTu74uRYircQ7SuL6NJ1N8IzgS0uMD6gcQ4A== X-Received: by 2002:adf:eb47:: with SMTP id u7-v6mr27004193wrn.22.1536157350827; Wed, 05 Sep 2018 07:22:30 -0700 (PDT) Received: from localhost.localdomain ([95.144.165.37]) by smtp.gmail.com with ESMTPSA id x125-v6sm2851438wmg.27.2018.09.05.07.22.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 07:22:30 -0700 (PDT) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: Intel-gfx@lists.freedesktop.org Date: Wed, 5 Sep 2018 15:22:15 +0100 Message-Id: <20180905142222.3251-1-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.17.1 Subject: [Intel-gfx] [PATCH v11 0/7] Per context dynamic (sub)slice power-gating X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP From: Tvrtko Ursulin Updated series after continuing Lionel's work. Userspace for the feature is the media-driver project on GitHub. Please see https://github.com/intel/media-driver/pull/271/commits. No headline changes this time. Some review feedback, some refactoring, some patches got merged and two new appeared to help with the simplified implementation and also lock SSEU config to a workable set on Icelake. IGT to be sent separately. Chris Wilson (3): drm/i915: Program RPCS for Broadwell drm/i915: Record the sseu configuration per-context & engine drm/i915: Expose RPCS (SSEU) configuration to userspace Lionel Landwerlin (1): drm/i915/perf: lock powergating configuration to default when active Tvrtko Ursulin (3): drm/i915/execlists: Move RPCS setup to context pin drm/i915: Add timeline barrier support drm/i915/icl: Support co-existance between per-context SSEU and OA drivers/gpu/drm/i915/i915_drv.h | 14 + drivers/gpu/drm/i915/i915_gem_context.c | 305 +++++++++++++++++- drivers/gpu/drm/i915/i915_gem_context.h | 10 + drivers/gpu/drm/i915/i915_perf.c | 5 + drivers/gpu/drm/i915/i915_request.c | 13 + drivers/gpu/drm/i915/i915_request.h | 10 + drivers/gpu/drm/i915/i915_timeline.c | 3 + drivers/gpu/drm/i915/i915_timeline.h | 27 ++ drivers/gpu/drm/i915/intel_lrc.c | 65 ++-- drivers/gpu/drm/i915/intel_lrc.h | 3 + .../gpu/drm/i915/selftests/mock_timeline.c | 2 + include/uapi/drm/i915_drm.h | 43 +++ 12 files changed, 479 insertions(+), 21 deletions(-)