Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2782195pxx; Sun, 1 Nov 2020 09:44:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwa9BzesygMbB1yHsphbpGhm8cxvn9Qw09Fyv64QQyzHOWlGT4akh0UFEnKRw0ffJqHF5jh X-Received: by 2002:a17:906:3614:: with SMTP id q20mr11487621ejb.297.1604252661929; Sun, 01 Nov 2020 09:44:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604252661; cv=none; d=google.com; s=arc-20160816; b=Kgv8YhG4oWrCHjmzZeuA6iMqRyYPFnDeZlCoKkvhRuwfoYINOVEFYRJLG55MQu67R2 XqbVk2GY7046Cws7uBpf8cUCTGO9D/pWWAg880zRhuvv0uuVJY34c15xq616O5YznAoQ MTZe1Wy2K12er3ZJiuqwoLg78g9BxoQy4YsJUs6tzHtrxZQDcuL3D7FWfzgfVfeqZme9 LI3GgmNQ72IkAeja+9RnzGySMUgzTrGLIGkAuQm128zZxJsG0eBj5TnF6lZN1WcGSHgV lSWZM13Bs+nDj730NRaCa9GnyFcibEbybKlI+smibZ25MjRTN3OxTG04US/7rPJVZqYo jaYw== 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=e+fARH09FGjrdA38GTr6jtf6uSvNS33MYbUXM8l72ta2MjrMLUMfvkqtBw2tYjoHo/ Pt/azICcyY0Y7l5G09dX8hb0VMRZJrAB3SMF4L8SlA0YKuvcPDWNedB+etdBR7OmlDOw YKhGCk5Knl314d4S8TrtAvHN0BCo8M1VxrMgYOnezFS3k8gIZ+fgpthQ0n9UqRga22n8 Pfbii3mcrQWLvpGJBI8aGcRlUFqMOUOOGTZwnDXHx7C6svXb4263xkTOfonvI3/QhFKt s2QKh2Ciq8EQqp/O1F41TcLZiLDQhdaeZsy7W5e8PTVmhV/go575EcOzQrks640MwMw+ HZAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=TglZpQGw; 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 br4si8905128ejb.438.2020.11.01.09.43.58; Sun, 01 Nov 2020 09:44:21 -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=TglZpQGw; 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 S1727234AbgKARmD (ORCPT + 99 others); Sun, 1 Nov 2020 12:42:03 -0500 Received: from mx0b-002e3701.pphosted.com ([148.163.143.35]:61750 "EHLO mx0b-002e3701.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727111AbgKARmA (ORCPT ); Sun, 1 Nov 2020 12:42:00 -0500 Received: from pps.filterd (m0134425.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0A1HY60v007825; Sun, 1 Nov 2020 17:41:43 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=TglZpQGwnBtvM8RcKeFMcu7JVb72gaEzpG/MWSjhbuK5ZU2ubvGsdMHgQukIuFGJlt9H 5P79ol/p8s416sI6S3cc24u+rUAPTDPHHvCmb1S/9k2CBi5y47M9x3cYo4uaKdzkpHoi ZFS8pYPFogAN4aY5vbej2bma0rCvk2NYQ65zI2pkQIpRSfJ5CUwVxV1JaDWV6iCZeywr qNyyQEejBpsc6Tst4jfgg9DbMPJWcMcn39GpWa0yzcl0mykf1+pJ9GkdRXgOAMjSjPcf O94sX4h05mJW33PKmi7kLifLB8NQYAP79ceB/+JNjCuw7MNeNT3u32mWgcs/9JFBjsBg EQ== Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0b-002e3701.pphosted.com with ESMTP id 34h17n85e6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 01 Nov 2020 17:41:43 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2352.austin.hpe.com (Postfix) with ESMTP id 9D84F62; Sun, 1 Nov 2020 17:41:42 +0000 (UTC) Received: from rfwz62.ftc.rdlabs.hpecorp.net (rfwz62.americas.hpqcorp.net [10.33.237.8]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id A413F36; Sun, 1 Nov 2020 17:41:41 +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 10:41:30 -0700 Message-Id: <20201101174132.10513-2-rwright@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201101174132.10513-1-rwright@hpe.com> References: <20201101174132.10513-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 priorityscore=1501 clxscore=1015 mlxscore=0 mlxlogscore=626 malwarescore=0 phishscore=0 adultscore=0 spamscore=0 impostorscore=0 suspectscore=2 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011010145 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