From patchwork Fri Apr 29 17:31:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramalingam C X-Patchwork-Id: 12832555 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 46C18C433F5 for ; Fri, 29 Apr 2022 17:32:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C662B10EEF1; Fri, 29 Apr 2022 17:32:45 +0000 (UTC) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 37E5410EEF0; Fri, 29 Apr 2022 17:32:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651253564; x=1682789564; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=oEBXYP9vbBqH7eIQaWII2rMukoVV/BS/6hLzq0k6zLw=; b=HQJYc1dqGjMoShZwT9HWA0nWGCIN0o/lmMBHfp7xo+vcQhNJISmrhVvy jmqLQZlKytJiQfsg/qr4K+UdN5agZcXcc2CodW7ydVXKmnDfscitE2t0r JKXwWx29ehaEnYk29LBFyRhvK5twWf+mZ/Brcqi1WJeVckhVrSQO4t1tN Edr4YHklRm7JuMvdIpwxrkUxnIq7eA6qxfjq8RoSe+b2l4Lx6iYDG/ooz a1DFzjIBEb8Cwd+jDloTc3eEpe6bL5ESIONObl7opoE4RyaASO7m0nqK+ VZYa3sub5lveTsjbYrdWlbg3GQxYtf4Ps7ZDwVwUvMlRdjQb8XDgv7IQo g==; X-IronPort-AV: E=McAfee;i="6400,9594,10332"; a="329657058" X-IronPort-AV: E=Sophos;i="5.91,185,1647327600"; d="scan'208";a="329657058" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2022 10:31:02 -0700 X-IronPort-AV: E=Sophos;i="5.91,185,1647327600"; d="scan'208";a="534590196" Received: from ramaling-i9x.iind.intel.com ([10.203.144.108]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2022 10:31:00 -0700 From: Ramalingam C To: intel-gfx , dri-devel Date: Fri, 29 Apr 2022 23:01:57 +0530 Message-Id: <20220429173201.20499-1-ramalingam.c@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH v3 0/4] lrc selftest fixes 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: Hellstrom Thomas , Matthew Auld Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Few bug fixes for lrc selftest. v3: Extending the first patch for gen8 Chris Wilson (4): drm/i915/gt: Explicitly clear BB_OFFSET for new contexts drm/i915/selftests: Check for incomplete LRI from the context image drm/i915/selftest: Always cancel semaphore on error drm/i915/selftest: Clear the output buffers before GPU writes drivers/gpu/drm/i915/gt/intel_engine_regs.h | 1 + drivers/gpu/drm/i915/gt/intel_lrc.c | 19 ++++ drivers/gpu/drm/i915/gt/selftest_lrc.c | 115 ++++++++++++++++---- 3 files changed, 115 insertions(+), 20 deletions(-)