From patchwork Fri Jun 12 08:08:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oded Gabbay X-Patchwork-Id: 6595811 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id DB30FC0433 for ; Fri, 12 Jun 2015 08:09:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 22FC320663 for ; Fri, 12 Jun 2015 08:09:13 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 3F9AF20665 for ; Fri, 12 Jun 2015 08:09:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6757A7A092; Fri, 12 Jun 2015 01:09:11 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by gabe.freedesktop.org (Postfix) with ESMTP id 32E867A092 for ; Fri, 12 Jun 2015 01:09:10 -0700 (PDT) Received: by wiga1 with SMTP id a1so9305836wig.0 for ; Fri, 12 Jun 2015 01:09:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=5Q1opSC/GCuZc2nbv9ypp3wk1cJlrFvMQb5Cb/d5gxg=; b=tc+vqx/+K3H29fM3l3sC8ZMejAdxbmpFhDiVNgBuSl+QEkqgHmWg7k4AKggurVBHf7 lUp02UjwbPT8klSoqhcKfF2gNOPQA0ByZhMm6/SBxYb878vGE7qy9qXVjkZ0zIZ+2Cyb nsl3TzU90a02Z5kq8uKZLKyvWEmKThRVaQMgyyD8o7UtnfG/3chwAsIzNNt0ywLPkbC/ 3tMvlVCvJKEXTX8l22of+WO4+L+stjZF4XgyYs2WUnNFdbh65Qw+2lFK9c79gxMFTYQX bW43hB0u7QxKEBnUeA3y6waOjVAPODQ+EKZXBKM65A4GFtwj0SXDkRQYNme2Yof/ZqBo Bjgg== X-Received: by 10.180.95.67 with SMTP id di3mr4335091wib.78.1434096549382; Fri, 12 Jun 2015 01:09:09 -0700 (PDT) Received: from odedg-home.localdomain ([77.126.137.55]) by mx.google.com with ESMTPSA id o4sm1566912wib.5.2015.06.12.01.09.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jun 2015 01:09:08 -0700 (PDT) From: Oded Gabbay To: alexdeucher@gmail.com Subject: [PATCH 2/2] drm/amdgpu: Configure doorbell to maximum slots Date: Fri, 12 Jun 2015 11:08:58 +0300 Message-Id: <1434096538-1810-3-git-send-email-oded.gabbay@gmail.com> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1434096538-1810-1-git-send-email-oded.gabbay@gmail.com> References: <1434096538-1810-1-git-send-email-oded.gabbay@gmail.com> Cc: dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ben Goz Signed-off-by: Ben Goz Acked-by: Oded Gabbay --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index e4aeb74..7683d7f 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c @@ -3128,7 +3128,7 @@ static int gfx_v8_0_cp_compute_resume(struct amdgpu_device *adev) WREG32(mmCP_MEC_DOORBELL_RANGE_LOWER, AMDGPU_DOORBELL_KIQ << 2); WREG32(mmCP_MEC_DOORBELL_RANGE_UPPER, - AMDGPU_DOORBELL_MEC_RING7 << 2); + 0x7FFFF << 2); } tmp = RREG32(mmCP_HQD_PQ_DOORBELL_CONTROL); tmp = REG_SET_FIELD(tmp, CP_HQD_PQ_DOORBELL_CONTROL,