From patchwork Mon Mar 14 18:20:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramalingam C X-Patchwork-Id: 12780652 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 8039CC433FE for ; Mon, 14 Mar 2022 18:19:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5908810E2E4; Mon, 14 Mar 2022 18:19:38 +0000 (UTC) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7F83410E284; Mon, 14 Mar 2022 18:19:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647281976; x=1678817976; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=yh8+7acVKRtWHd+4Hmsm7A+zWA9RuNdUb2dE1LADBeQ=; b=GYPWnBU2shUm7Vz9oC/m/yuF00nesTT74wsINOVpklbwTd/sjvxnqTO9 cbJ7S8zoBHRgVL0SmcDnO8weUGmh8KTLyI4Zk1yySIfw2HS2hk4/Iz/hr Hv/NN+ZbyW0iz79q/8OMadLvG441BWMj0nrjukcBoSt3bpWikGewPqMMh WZlO+6chAh+Y1X/1QCsiapA8wCl0ZqsZvTtpLYoi5pSbGJj1O2WlSlL3Q /cOSZBjpJ2EWPplF0ifGhbpHQoIhLXv+tJXYjHQ0n3VeHCmFwILXnvR+D 0IhwIuI4aaWA+nPlWyd75ofX5k/s9kJVKRgo1SdQFh0v473/LtDfrQ7wA Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10286"; a="238279093" X-IronPort-AV: E=Sophos;i="5.90,181,1643702400"; d="scan'208";a="238279093" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Mar 2022 11:19:35 -0700 X-IronPort-AV: E=Sophos;i="5.90,181,1643702400"; d="scan'208";a="515549263" 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; 14 Mar 2022 11:19:33 -0700 From: Ramalingam C To: intel-gfx , dri-devel Subject: [PATCH 0/4] lrc selftest fixes Date: Mon, 14 Mar 2022 23:50:01 +0530 Message-Id: <20220314182005.17071-1-ramalingam.c@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hellstrom Thomas Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Few bug fixes for lrc selftest. 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: Clear the output buffers before GPU writes drm/i915/selftest: Always cancel semaphore on error drivers/gpu/drm/i915/gt/intel_engine_regs.h | 1 + drivers/gpu/drm/i915/gt/intel_lrc.c | 17 +++ drivers/gpu/drm/i915/gt/selftest_lrc.c | 115 ++++++++++++++++---- 3 files changed, 113 insertions(+), 20 deletions(-)