From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AH8x225RYVDkpnAiNzyl7C1l2HBySTRlG5NwphyuGw/gR9vohiy53DCYiz5ImKPCF/w9H0gPKbUO ARC-Seal: i=1; a=rsa-sha256; t=1517265980; cv=none; d=google.com; s=arc-20160816; b=oR0ojJhY2JRITHDFVHExjvHdXzqzND3IETz05PPSB2XN8MVVNB3dGE/vdjpN4fbirg lZQjkWzh7XMu9vzIvP+eV6Xkk7Apg5MjMjLUNKJvEXEMRy0D/SeWk+peOMAHL9aoWI8U 4tljjjuRckUZ8qLLxTuTpXeOjsBAzSlrxpH8WHfqCzK+D1S4ehNYtx3bY5VaKM0XfWEK Zwrq0GmVTg67YJXF6pA5dE/I3ZlmNDAVJj1aJNvqD7LC0OLY4+hIEvQbVRWkSZ/4/sMf jKUn2GpU+on/ig5dJ1QXAxonIMLlSLNVJ1hkqx0qqTVid9ZkUfAaHHRfPHyJRuEPb3bA jP8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:arc-authentication-results; bh=09vQtIztmV6+mSjNLjqNTjhK+zZojOHfo0qXeGyL/9M=; b=dQMWdwkKbP1RWxC8NFS5enVjRYvrzlLbnm6qsgyFmLjnAWLymXfPIx+k8Ipa+eUhy3 S55gL8++TascA3dEDCqxlYQXXHAXSBK4kg47BdGP4jlW3z7sqVTE2HBzQvmM8BY74XKf t119Py7u+zEPF3Hscp1TfPsiE9Mdm7jNDe9OfrRoDDKjf7UiMFSxadl5uaRulFApp5rB Q21lBMd71eWYuowrnU0PNc9CA40zdjN/Blo8omGshxIppY0hxLOh5FavJfO36InynNf1 AyEXyh7R3IoJ7nh+UWuRamC/V0mZGtGKnvL9ln3kEQxjbosmdsuIR1XdoSZohZG+YZNB c7UQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lyude@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=lyude@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Authentication-Results: mx.google.com; spf=pass (google.com: domain of lyude@redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=lyude@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com From: Lyude Paul To: nouveau@lists.freedesktop.org Cc: "Alexandre Courbot" , "David Airlie" , "Rhys Kidd" , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, "Karol Herbst" , "Ben Skeggs" , "Ilia Mirkin" , "Martin Peres" , "Philippe Ombredanne" , "Greg Kroah-Hartman" , "Lyude Paul" , "Thomas Gleixner" , "Kate Stewart" Subject: [RFC v4 0/5] Implement full clockgating for Kepler1 and 2 Date: Mon, 29 Jan 2018 17:44:59 -0500 Message-Id: <20180129224603.3167-1-lyude@redhat.com> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1590968692417012686?= X-GMAIL-MSGID: =?utf-8?q?1590968692417012686?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: Next version of my patchseries for adding clockgating support for kepler1 and 2 on nouveau. The first version of this series can be found here: https://patchwork.freedesktop.org/series/36504/ One small change: - Set therm->clkgate_enabled to false until the last patch, where we introduce the NvPmEnableGating option Lyude Paul (5): drm/nouveau: Add support for basic clockgating on Kepler1 drm/nouveau: Add support for BLCG on Kepler1 drm/nouveau: Add support for BLCG on Kepler2 drm/nouveau: Add support for SLCG for Kepler2 drm/nouveau: Introduce NvPmEnableGating option drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h | 1 + .../gpu/drm/nouveau/include/nvkm/subdev/therm.h | 17 ++ drivers/gpu/drm/nouveau/nvkm/engine/device/base.c | 25 +-- drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h | 1 + drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.c | 207 +++++++++++++++++++++ drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.h | 55 ++++++ drivers/gpu/drm/nouveau/nvkm/engine/gr/gk110.c | 155 +++++++++++++++ drivers/gpu/drm/nouveau/nvkm/subdev/fb/Kbuild | 1 + drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c | 6 + drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk104.c | 47 +++++ drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk104.h | 35 ++++ drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk110.c | 71 +++++++ drivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h | 2 + drivers/gpu/drm/nouveau/nvkm/subdev/therm/Kbuild | 2 + drivers/gpu/drm/nouveau/nvkm/subdev/therm/base.c | 70 ++++++- drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf100.c | 75 ++++++++ drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf100.h | 35 ++++ drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf119.c | 8 +- drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c | 136 ++++++++++++++ drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.h | 48 +++++ drivers/gpu/drm/nouveau/nvkm/subdev/therm/gt215.c | 2 +- drivers/gpu/drm/nouveau/nvkm/subdev/therm/priv.h | 23 ++- 22 files changed, 996 insertions(+), 26 deletions(-) create mode 100644 drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.h create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk104.h create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk110.c create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf100.c create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gf100.h create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.c create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/therm/gk104.h -- 2.14.3