Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2692216pxx; Sun, 1 Nov 2020 06:45:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvMC0M4x29QHQ8Udsq4A+HTxb+QTT4bgcTF/hgkKSM2Z3ek6+H7sa7NMxkJmyIOhUR1YV3 X-Received: by 2002:a17:906:cd13:: with SMTP id oz19mr11100542ejb.455.1604241947739; Sun, 01 Nov 2020 06:45:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604241947; cv=none; d=google.com; s=arc-20160816; b=G7Zp0rBatU1WYuFFFQMAoXFaDp4DWk55/tU8W+KhGEDwPufbuTEFrpz47rEAzJvgVG DctklnhtK5NahAZAub1PeSvnG3CV7aDWr56uth2vxnzPS2qg/KjyBcksd7VZz3EjxCqc PYtT+AbKGRa7ET9gSOyMauQXmgneHN8+docA5l7SS20XMg4Sa0LmmsyZ2yuPomN+V4x9 9t5+1xG/dgKLsWPdpMZxBkTaQp7Sqv6g+9GDPlWLSY0TwYoXyrpKzgg4JVGQKgc4/G64 ZjbQWeghUpc1Lyag9O5vfKDkPmbDGwwv9kn3x9aO8danYZ8j3xMaGpRUSAWi1zGzqc9E 6SMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=XKYXzHc3s326T/Mq3Yl8HKAAp7g4arn3+L3mg5rGF5E=; b=QvhaYNZfIiVCVboNFmZhMXFnIoF6HsbX5Ehp9KVwZjaPXdwiNSCP0SdaynhZQQ2Zw1 fAkbewm+RaEdQBMg+EtvVEJS0oGfsfjY1lSuOjWzx3CNPLxY508vyI72OJ/tJk8Rtnz1 lIDDqNyAuo83PCgPypjUEgMy9F4UgBIb0UX8o1n6e1dPtK9sA8n9Blg2H+Qu+KC+ph6s NgPsfElLctHdmrV2sthgK99xrFrf7eEdjf+krwP/X2+wVEusdzRJnavhWlwRMWTzpbWk OGGyKO0EqM8YF8sueNQrfxrf2cjRqrU0Abof9CovRakkhOBWkOjVebDoSeMfByhrPQ6k nRDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=nLUHBqPH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hpe.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g20si5011950edv.323.2020.11.01.06.45.24; Sun, 01 Nov 2020 06:45:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=nLUHBqPH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hpe.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726834AbgKAOnO (ORCPT + 99 others); Sun, 1 Nov 2020 09:43:14 -0500 Received: from mx0b-002e3701.pphosted.com ([148.163.143.35]:9800 "EHLO mx0b-002e3701.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726499AbgKAOnL (ORCPT ); Sun, 1 Nov 2020 09:43:11 -0500 Received: from pps.filterd (m0148664.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0A1EfRVL014563; Sun, 1 Nov 2020 14:42:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=pps0720; bh=XKYXzHc3s326T/Mq3Yl8HKAAp7g4arn3+L3mg5rGF5E=; b=nLUHBqPH4AjQP9JlgPU/qZ6d7AKfISv/vhS8v+LPRZXnM3b6H7U4XNjxwo+6SrTz4eRE xuTWzV6jqO7vcBYyL4jXWGC8dHnxet7puH7ZHQlSDMCApefPG85VQE3bH70bwtEpsaLZ LriMBvXiksOjNoaj09E1NKd6jRuPgZQUoBewrXlvAV9b+m2cUvspIlabWCRpzKMSACx2 DLvIwsOZeBX+559jKDdbzd124G4SJmT++UchhnqK49orIr3yVH23DXXNMAfvTuuI2PKX nDeSc8SRhLrmDXoFE5ppZVKjqE0rFC5wVvyKJVfWNZBsyLXZLO93k4VLGsifO5+sgJs4 TA== Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by mx0b-002e3701.pphosted.com with ESMTP id 34h069fhkr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 01 Nov 2020 14:42:55 +0000 Received: from g4t3433.houston.hpecorp.net (g4t3433.houston.hpecorp.net [16.208.49.245]) by g9t5008.houston.hpe.com (Postfix) with ESMTP id D7DCB56; Sun, 1 Nov 2020 14:42:54 +0000 (UTC) Received: from rfwz62.ftc.rdlabs.hpecorp.net (rfwz62.americas.hpqcorp.net [10.33.237.8]) by g4t3433.houston.hpecorp.net (Postfix) with ESMTP id C94D245; Sun, 1 Nov 2020 14:42:53 +0000 (UTC) From: rwright@hpe.com To: jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com, airlied@linux.ie, daniel@ffwll.ch, sumit.semwal@linaro.org, christian.koenig@amd.com, hdegoede@redhat.com, wambui.karugax@gmail.com, chris@chris-wilson.co.uk, matthew.auld@intel.com, akeem.g.abodunrin@intel.com, prathap.kumar.valsan@intel.com, mika.kuoppala@linux.intel.com, rwright@hpe.com Cc: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v3 1/3] drm/i915: Introduce quirk QUIRK_RENDERCLEAR_REDUCED Date: Sun, 1 Nov 2020 07:42:42 -0700 Message-Id: <20201101144244.10086-2-rwright@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201101144244.10086-1-rwright@hpe.com> References: <20201101144244.10086-1-rwright@hpe.com> X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-11-01_05:2020-10-30,2020-11-01 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 impostorscore=0 phishscore=0 bulkscore=0 malwarescore=0 spamscore=0 suspectscore=2 mlxlogscore=750 mlxscore=0 priorityscore=1501 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011010120 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Wright Introduce quirk QUIRK_RENDERCLEAR_REDUCED, which will be used to force a limited batch buffer size for clearing residual contexts in gen7_renderclear.c. Signed-off-by: Randy Wright --- drivers/gpu/drm/i915/i915_drv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index e4f7f6518945..e8873462eb2c 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -525,6 +525,7 @@ struct i915_psr { #define QUIRK_PIN_SWIZZLED_PAGES (1<<5) #define QUIRK_INCREASE_T12_DELAY (1<<6) #define QUIRK_INCREASE_DDI_DISABLED_TIME (1<<7) +#define QUIRK_RENDERCLEAR_REDUCED (1<<8) struct intel_fbdev; struct intel_fbc_work; -- 2.25.1