From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D53C4C433DF for ; Fri, 12 Jun 2020 15:25:36 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id B074920835 for ; Fri, 12 Jun 2020 15:25:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B074920835 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 276AF6E98D; Fri, 12 Jun 2020 15:25:36 +0000 (UTC) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id D88196E98D for ; Fri, 12 Jun 2020 15:25:34 +0000 (UTC) IronPort-SDR: +xSJYiKxOcNbfOnrCC1u3RjWCqbGQp8mdnL14/C00umLPvMWFM+VDXQIhsB5p5F5cOTCizdKme KNd+Iw5zoC1g== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2020 08:25:34 -0700 IronPort-SDR: Avq1B9JyAdhBlji+9zMFZfqZ58NxQFJ5ZrEfkGrNNTR+bjW7SjdI6zG8vdQyrswupILMboTr9R ToGG966m2Xrw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,503,1583222400"; d="scan'208";a="260857212" Received: from stinkbox.fi.intel.com (HELO stinkbox) ([10.237.72.174]) by orsmga007.jf.intel.com with SMTP; 12 Jun 2020 08:25:32 -0700 Received: by stinkbox (sSMTP sendmail emulation); Fri, 12 Jun 2020 18:25:31 +0300 Date: Fri, 12 Jun 2020 18:25:31 +0300 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: =?iso-8859-1?Q?Jos=E9?= Roberto de Souza Message-ID: <20200612152531.GI6112@intel.com> References: <20200526221447.64110-1-jose.souza@intel.com> <20200526221447.64110-2-jose.souza@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200526221447.64110-2-jose.souza@intel.com> X-Patchwork-Hint: comment User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [Intel-gfx] [PATCH 2/6] drm/i915: Add plane damage clips property 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: intel-gfx@lists.freedesktop.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Tue, May 26, 2020 at 03:14:43PM -0700, Jos=E9 Roberto de Souza wrote: > This property will be used by PSR2 software tracking, adding it to > GEN12+. Is there actual userspace that uses this? > = > Signed-off-by: Jos=E9 Roberto de Souza > --- > drivers/gpu/drm/i915/display/intel_display.c | 4 ++++ > drivers/gpu/drm/i915/display/intel_sprite.c | 4 ++++ > 2 files changed, 8 insertions(+) > = > diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/d= rm/i915/display/intel_display.c > index f40b909952cc..b69878334040 100644 > --- a/drivers/gpu/drm/i915/display/intel_display.c > +++ b/drivers/gpu/drm/i915/display/intel_display.c > @@ -35,6 +35,7 @@ > #include > #include > #include > +#include > #include > #include > #include > @@ -16476,6 +16477,9 @@ intel_cursor_plane_create(struct drm_i915_private= *dev_priv, > zpos =3D RUNTIME_INFO(dev_priv)->num_sprites[pipe] + 1; > drm_plane_create_zpos_immutable_property(&cursor->base, zpos); > = > + if (INTEL_GEN(dev_priv) >=3D 12) > + drm_plane_enable_fb_damage_clips(&cursor->base); > + > drm_plane_helper_add(&cursor->base, &intel_plane_helper_funcs); > = > return cursor; > diff --git a/drivers/gpu/drm/i915/display/intel_sprite.c b/drivers/gpu/dr= m/i915/display/intel_sprite.c > index 571c36f929bd..8be06cb25999 100644 > --- a/drivers/gpu/drm/i915/display/intel_sprite.c > +++ b/drivers/gpu/drm/i915/display/intel_sprite.c > @@ -34,6 +34,7 @@ > #include > #include > #include > +#include > #include > #include > #include > @@ -3151,6 +3152,9 @@ skl_universal_plane_create(struct drm_i915_private = *dev_priv, > = > drm_plane_create_zpos_immutable_property(&plane->base, plane_id); > = > + if (INTEL_GEN(dev_priv) >=3D 12) > + drm_plane_enable_fb_damage_clips(&plane->base); > + > drm_plane_helper_add(&plane->base, &intel_plane_helper_funcs); > = > return plane; > -- = > 2.26.2 > = > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gfx -- = Ville Syrj=E4l=E4 Intel _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx