From patchwork Wed Aug 23 18:45:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Cavitt, Jonathan" X-Patchwork-Id: 13363054 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AE7BFC27C40 for ; Wed, 23 Aug 2023 18:56:08 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F2BB10E0D9; Wed, 23 Aug 2023 18:56:06 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8268310E0CF for ; Wed, 23 Aug 2023 18:56:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692816963; x=1724352963; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=G4Q3w56UpGSHC09OQ7qVy5g9JfHVAhdmH+xY5jstAwI=; b=NOQZiRELRYpJBEBW5kGByQGunTV1iggTDodKuyNtrwUjO10Duq3lyWlw 1rFNob/P5LxcXYloR8JUTzhS9zc+j2uY7as02rS8ofwm2+d0+Zyb3ZBMm 9cUwDC5WyY4vpDTQkjl9WRYefLbBeWXRM9waE0QpGqp6m1Vwms5o+LJc0 utWbr5TaOPEta+ExBDwc623h9TfpTtCMLUGGc0fW4lILp1CeE/RQ4Ufa5 LVatCtI6oekk18GytDc9TvN7deV3cvvRsQCDOKTJiqCVQG2lVyi39Qm// MpOgGj6KSG0zd3AMRhwA+CD0j5wNeffv1ZI4mViBbn4V5M8iNrpOSRnE9 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10811"; a="438172320" X-IronPort-AV: E=Sophos;i="6.01,195,1684825200"; d="scan'208";a="438172320" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2023 11:56:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10811"; a="686569647" X-IronPort-AV: E=Sophos;i="6.01,195,1684825200"; d="scan'208";a="686569647" Received: from dut-internal-9dd7.jf.intel.com ([10.165.21.194]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Aug 2023 11:55:59 -0700 From: Jonathan Cavitt To: intel-gfx@lists.freedesktop.org Date: Wed, 23 Aug 2023 11:45:18 -0700 Message-Id: <20230823184520.1993320-1-jonathan.cavitt@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/2] Apply Wa_16018031267 / Wa_16018063123 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tomasz.mistat@intel.com, jonathan.cavitt@intel.com, rodrigo.vivi@intel.com, gregory.f.germano@intel.com, matthew.d.roper@intel.com, nirmoy.das@intel.com Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Apply Wa_16018031267 / Wa_16018063123. This necessitates submitting a fastcolor blit as WABB and setting the copy engine arbitration to round-robin mode. Signed-off-by: Nirmoy Das Signed-off-by: Jonathan Cavitt CC: Joonas Lahtinen CC: Rodrigo Vivi CC: Tomasz Mistat CC: Gregory F Germano CC: Matt Roper CC: James Ausmus Nirmoy Das (2): drm/i915: Add WABB blit for Wa_16018031267 / Wa_16018063123 drm/i915: Set copy engine arbitration for pipeblit WA drivers/gpu/drm/i915/gt/intel_engine_regs.h | 6 ++ drivers/gpu/drm/i915/gt/intel_gt_types.h | 3 + drivers/gpu/drm/i915/gt/intel_lrc.c | 114 +++++++++++++++++++- drivers/gpu/drm/i915/gt/intel_workarounds.c | 6 ++ drivers/gpu/drm/i915/gt/selftest_lrc.c | 65 +++++++---- drivers/gpu/drm/i915/i915_drv.h | 5 + 6 files changed, 178 insertions(+), 21 deletions(-)