From patchwork Thu Nov 17 09:02:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tvrtko Ursulin X-Patchwork-Id: 9433653 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8812160471 for ; Thu, 17 Nov 2016 09:02:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79E232937A for ; Thu, 17 Nov 2016 09:02:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6CC222937C; Thu, 17 Nov 2016 09:02:55 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID 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 0B32B2937A for ; Thu, 17 Nov 2016 09:02:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 975906E282; Thu, 17 Nov 2016 09:02:54 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) by gabe.freedesktop.org (Postfix) with ESMTPS id A06596E282 for ; Thu, 17 Nov 2016 09:02:52 +0000 (UTC) Received: by mail-wm0-x242.google.com with SMTP id g23so19178301wme.1 for ; Thu, 17 Nov 2016 01:02:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ursulin-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=bWCjWJGQl3KaBTRfIQl0QEhjSgew2EwtOSgPAjOBC+M=; b=FPhGKpKxL6gmFzfBjJFx41PA0wrAbuyLWW/RzTS4OzsSd237MRtL/WjtgD0YFbHhGo GeLJSuvraXlJlFYmidYFCkfdgh/+30GRWcbLbVTxY9qf7A1KE9eeQfebOmP0GONCSiRp /lnYiMZJ4od+ViUvQwQnPrrod2pwokiQfcy1rmHe8jjbm3c2YAKs3Rz1ZGWuugOKcQP2 jjPHnIxGwKoMjA+QAiHHBBh//8bUNvKEV60x5XQ70JPBxxpNKpgdM3OF8aDiEVn05JyW 0bTBNZ0aCrsyY1MnRPuLfcp5Wa4WN+h8hXAScmELNDDj0jWd8cWeLsvnRuknF7gtrwOh atiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=bWCjWJGQl3KaBTRfIQl0QEhjSgew2EwtOSgPAjOBC+M=; b=RLZ1Yn2W7FzBZYxqWw1RvPrFHXsOhTisJqkDgYyiYJ1h9ia5OfDcYKI3n+GDoa7eL3 Vxx9km3eeQmMFQ2R8aBRFK4k0DxHILScLQZ88nlhR543ieWyzoGfo8e17PrTLYVXVK/r zqynMA1cxa6iznfTXDxEYIAXxqFvLqArsyywjnMcADVmsZjPeOCGnYrlEulEWV61e89k 1DRuYmxHJ7WxK//FMfKEAmMKXc7y1sTa/yJ4kBsGX9jF+PzbzXRbyMiECpLf+jEWUKcV y6o1fnN/ZUmMiL2HPTx0wE8/PXw6hwQPe4Bq5SS9HP3o5h2jfZK9Jcocfsd12gxA6PZp D2/Q== X-Gm-Message-State: ABUngveopOpmo/e/cr9a2VNfbVZJMN4goyK5ioWPmIxdujKw2M+1ellROMgEOV94nYTg7A== X-Received: by 10.28.14.66 with SMTP id 63mr2556408wmo.127.1479373371253; Thu, 17 Nov 2016 01:02:51 -0800 (PST) Received: from t460p.intel ([2a02:c7d:9bd6:b000:f37e:1e07:a7d8:46cd]) by smtp.gmail.com with ESMTPSA id hy10sm2089049wjb.10.2016.11.17.01.02.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Nov 2016 01:02:50 -0800 (PST) From: Tvrtko Ursulin X-Google-Original-From: Tvrtko Ursulin To: Intel-gfx@lists.freedesktop.org Date: Thu, 17 Nov 2016 09:02:43 +0000 Message-Id: <1479373363-16528-1-git-send-email-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.7.4 Subject: [Intel-gfx] [PATCH] drm/i915: Fix gen9 forcewake range table X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 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 Commit 0dd356bb6ff5 ("drm/i915: Eliminate Gen9 special case") accidentaly dropped a MMIO range between 0xc000 to 0xcfff out of the blitter forcewake domain. Fix it. Signed-off-by: Tvrtko Ursulin Fixes: 0dd356bb6ff5 ("drm/i915: Eliminate Gen9 special case") Reported-by: Daniele Ceraolo Spurio Cc: Daniele Ceraolo Spurio Cc: Chris Wilson Cc: Tvrtko Ursulin Reviewed-by: Chris Wilson --- drivers/gpu/drm/i915/intel_uncore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_uncore.c b/drivers/gpu/drm/i915/intel_uncore.c index e953303bff54..a0944dde7c41 100644 --- a/drivers/gpu/drm/i915/intel_uncore.c +++ b/drivers/gpu/drm/i915/intel_uncore.c @@ -789,7 +789,7 @@ static const struct intel_forcewake_range __gen9_fw_ranges[] = { GEN_FW_RANGE(0x9400, 0x97ff, FORCEWAKE_RENDER | FORCEWAKE_MEDIA), GEN_FW_RANGE(0x9800, 0xafff, FORCEWAKE_BLITTER), GEN_FW_RANGE(0xb000, 0xb47f, FORCEWAKE_RENDER), - GEN_FW_RANGE(0xb480, 0xbfff, FORCEWAKE_BLITTER), + GEN_FW_RANGE(0xb480, 0xcfff, FORCEWAKE_BLITTER), GEN_FW_RANGE(0xd000, 0xd7ff, FORCEWAKE_MEDIA), GEN_FW_RANGE(0xd800, 0xdfff, FORCEWAKE_BLITTER), GEN_FW_RANGE(0xe000, 0xe8ff, FORCEWAKE_RENDER),