From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: ACJfBovSDYAHR4AjwymhxbVkFJI733psT5Kt7r0GuhCan062USU8USDszbaWzyR6BLW+7nG++ubW ARC-Seal: i=1; a=rsa-sha256; t=1515416403; cv=none; d=google.com; s=arc-20160816; b=VqHgQ2Fy5bykkj92qDJADeQYpIOu6r8bo4yRZk5HDyVAGhGWwQeG+pES2WjpxmI3Gg D6pBLgok8wJBsLWNZ7ePDxHk0YRSOkpZFKWd2BKJhlKn0sBUJQDW/BVM22vLUUXQZwwr qpQt6MBgYgG9ywMXafoHWVprKnoqfHOq4Ad0BuDWNfIQSHpU/gcdsQI+QqVNTw7qUn+9 JfoCjtgJG9YjawD/4aNr7zF9yj9VXwb3WhzBRLdZSZJyFbaqETiMP81GVbyu+wOdx/hU Pc1S1DlEAqx2e0uSEF2F0wScv+MiZB5VE4duZQy3cj6ikGn2iHC6IA+pE+2N6SfvNALL qu1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=EkQ5wcabSPbjmkez8g1qMMGmR2D62MqnrrwhM4uPT/4=; b=x29u2fEBYgPf75KLYlY0p3Y/70QLrL6zeCnkCmMYAwtwhCI4p0Lcu80+jSQrEW38Bv CtVZ4khUhm+74cDZnr0NIQ9gh+HQ7WDbhkGrJVkPuey1Cp+xv5eK9iCjGQ9DBzSRitEE rYtN2EpWpxL3YPPH3MPZz7CJ9xYgx5v0yADNmONlPEtqYO89cCvcXrVbF5S5qCRylAhQ 1BRc3brBqQbW7vkWPgWaOToVX6HqbirMp2KQeHhRV3NKEay9TjYiA541ZNdO3e4Hmsxk vE5xdllBj5estMi3lryhYMqXc/GeOp+u4tl4zm2yQhk+WlbMhRhhBe4Q0MvAld+Pkowp LoTA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning gregkh@linuxfoundation.org does not designate 90.92.71.90 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning gregkh@linuxfoundation.org does not designate 90.92.71.90 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= , Dhinakaran Pandiyan , Jani Nikula Subject: [PATCH 4.14 18/38] drm/i915: Disable DC states around GMBUS on GLK Date: Mon, 8 Jan 2018 13:59:11 +0100 Message-Id: <20180108125917.107405239@linuxfoundation.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180108125915.951963528@linuxfoundation.org> References: <20180108125915.951963528@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-LABELS: =?utf-8?b?IlxcU2VudCI=?= X-GMAIL-THRID: =?utf-8?q?1589029270628989574?= X-GMAIL-MSGID: =?utf-8?q?1589029270628989574?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ville Syrjälä commit 3488d0237f6364614f0c59d6d784bb79b11eeb92 upstream. Prevent the DMC from destroying GMBUS transfers on GLK. GMBUS lives in PG1 so DC off is all we need. Signed-off-by: Ville Syrjälä Link: https://patchwork.freedesktop.org/patch/msgid/20171208213739.16388-1-ville.syrjala@linux.intel.com Reviewed-by: Dhinakaran Pandiyan (cherry picked from commit 156961ae7bdf6feb72778e8da83d321b273343fd) Signed-off-by: Jani Nikula Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/i915/intel_runtime_pm.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/gpu/drm/i915/intel_runtime_pm.c +++ b/drivers/gpu/drm/i915/intel_runtime_pm.c @@ -1786,6 +1786,7 @@ void intel_display_power_put(struct drm_ GLK_DISPLAY_POWERWELL_2_POWER_DOMAINS | \ BIT_ULL(POWER_DOMAIN_MODESET) | \ BIT_ULL(POWER_DOMAIN_AUX_A) | \ + BIT_ULL(POWER_DOMAIN_GMBUS) | \ BIT_ULL(POWER_DOMAIN_INIT)) #define CNL_DISPLAY_POWERWELL_2_POWER_DOMAINS ( \