From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: Matt Roper <matthew.d.roper@intel.com>,
Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 2/2] drm/i915/gen11: Enable 6 sprites on gen11
Date: Mon, 15 Oct 2018 11:55:58 +0200 [thread overview]
Message-ID: <7c3627db-f3ff-ee39-b6f1-9ad034921bcf@linux.intel.com> (raw)
In-Reply-To: <20181015095207.6713-3-maarten.lankhorst@linux.intel.com>
Op 15-10-18 om 11:52 schreef Maarten Lankhorst:
> Gen11 supports 7 planes + 1 cursor on each pipe. Bump
> I915_MAX_PLANES to 8, and set num_sprites correctly.
>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
> ---
> drivers/gpu/drm/i915/intel_device_info.c | 5 ++++-
> drivers/gpu/drm/i915/intel_display.h | 3 +++
> 2 files changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_device_info.c b/drivers/gpu/drm/i915/intel_device_info.c
> index 03df4e33763d..d95df6d76aaf 100644
> --- a/drivers/gpu/drm/i915/intel_device_info.c
> +++ b/drivers/gpu/drm/i915/intel_device_info.c
> @@ -760,7 +760,10 @@ void intel_device_info_runtime_init(struct intel_device_info *info)
> * we don't expose the topmost plane at all to prevent ABI breakage
> * down the line.
> */
> - if (IS_GEN10(dev_priv) || IS_GEMINILAKE(dev_priv))
> + if (IS_GEN11(dev_priv))
> + for_each_pipe(dev_priv, pipe)
> + info->num_sprites[pipe] = 6;
> + else if (IS_GEN10(dev_priv) || IS_GEMINILAKE(dev_priv))
> for_each_pipe(dev_priv, pipe)
> info->num_sprites[pipe] = 3;
> else if (IS_BROXTON(dev_priv)) {
> diff --git a/drivers/gpu/drm/i915/intel_display.h b/drivers/gpu/drm/i915/intel_display.h
> index 9fac67e31205..47000b25f1ff 100644
> --- a/drivers/gpu/drm/i915/intel_display.h
> +++ b/drivers/gpu/drm/i915/intel_display.h
> @@ -120,6 +120,9 @@ enum plane_id {
> PLANE_SPRITE0,
> PLANE_SPRITE1,
> PLANE_SPRITE2,
> + PLANE_SPRITE3,
> + PLANE_SPRITE4,
> + PLANE_SPRITE5,
> PLANE_CURSOR,
>
> I915_MAX_PLANES,
Oops, missed the
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
And should probably fix the stale comments. :)
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2018-10-15 9:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-15 9:52 [PATCH 0/2] drm/i915/gen11: Enable all sprite planes Maarten Lankhorst
2018-10-15 9:52 ` [PATCH 1/2] drm/i915: Fix unsigned overflow when calculating total data rate Maarten Lankhorst
2018-10-15 9:52 ` [PATCH 2/2] drm/i915/gen11: Enable 6 sprites on gen11 Maarten Lankhorst
2018-10-15 9:55 ` Maarten Lankhorst [this message]
2018-10-15 10:17 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915/gen11: Enable all sprite planes Patchwork
2018-10-15 10:42 ` ✓ Fi.CI.BAT: success " Patchwork
2018-10-15 12:08 ` ✓ Fi.CI.IGT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7c3627db-f3ff-ee39-b6f1-9ad034921bcf@linux.intel.com \
--to=maarten.lankhorst@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=matthew.d.roper@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox