From patchwork Sat Mar 19 19:42:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Cheng X-Patchwork-Id: 12786317 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 20863C433EF for ; Sat, 19 Mar 2022 19:42:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 514D410E3A3; Sat, 19 Mar 2022 19:42:33 +0000 (UTC) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3DD7910E2E8; Sat, 19 Mar 2022 19:42:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647718952; x=1679254952; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=R1QXbdRGuzhVOgqDzwsQWxTWBpTUv9KJtZ48CgUTZk4=; b=KE/SzViGHgLsi8/hK9XdyHpS0f7IxF+Mw5PChCM8P+dwZeyx8cVM74G7 b4EivPfjctQbqdlT7blxxsetPGmFOuYtYkVkgj4hmQ28XNiWLfBNbkr35 Wd8BRgCwafqFvbS9dgjgCjpUve/XEamJbQ6N9QyYlQOoqfK5Uv58pcIdV doAYPAmXZkCz+PCvMTYAxQBdZ625mdO8IJ8FtQ3FNIbbRbinEGb+m1XgZ 1CIQlQ8EavxYLkF6Jgj780I80dAlz818Yz0GcRJb5neR7QOiOAFADEvC7 Psu8wteM+FVbaKjEiXxM1+NCfd34ICKw5+ebIak9266vRa/WBITsMUfXf Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10291"; a="282145180" X-IronPort-AV: E=Sophos;i="5.90,195,1643702400"; d="scan'208";a="282145180" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Mar 2022 12:42:31 -0700 X-IronPort-AV: E=Sophos;i="5.90,195,1643702400"; d="scan'208";a="600019671" Received: from jpulito-mobl2.amr.corp.intel.com (HELO mvcheng-desk2.intel.com) ([10.255.231.61]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Mar 2022 12:42:31 -0700 From: Michael Cheng To: intel-gfx@lists.freedesktop.org Date: Sat, 19 Mar 2022 12:42:23 -0700 Message-Id: <20220319194227.297639-1-michael.cheng@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/4] Drop wbinvd_on_all_cpus usage 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: thomas.hellstrom@linux.intel.com, michael.cheng@intel.com, daniel.vetter@ffwll.ch, lucas.demarchi@intel.com, dri-devel@lists.freedesktop.org, chris@chris-wilson.co.uk Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To align with the discussion in [1][2], this patch series drops all usage of wbvind_on_all_cpus within i915 by either replacing the call with certain drm clflush helpers, or reverting to a previous logic. [1]. https://lists.freedesktop.org/archives/dri-devel/2021-November/330928.html [2]. https://patchwork.freedesktop.org/patch/475752/?series=99991&rev=5 Michael Cheng (4): i915/gem: drop wbinvd_on_all_cpus usage Revert "drm/i915/gem: Almagamate clflushes on suspend" i915/gem: Revert i915_gem_freeze to previous logic drm/i915/gt: Revert ggtt_resume to previous logic drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c | 9 +--- drivers/gpu/drm/i915/gem/i915_gem_pm.c | 56 ++++++++++++++-------- drivers/gpu/drm/i915/gt/intel_ggtt.c | 17 +++---- drivers/gpu/drm/i915/gt/intel_gtt.h | 2 +- 4 files changed, 46 insertions(+), 38 deletions(-)