All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/icl: GEN11 supports 6 sprite planes
@ 2018-08-28 23:11 vsrini4
  2018-08-29  7:40 ` ✗ Fi.CI.BAT: failure for " Patchwork
  2018-08-29 10:49 ` [PATCH] " Jani Nikula
  0 siblings, 2 replies; 3+ messages in thread
From: vsrini4 @ 2018-08-28 23:11 UTC (permalink / raw)
  To: intel-gfx; +Cc: dri-devel

GEN11 supports 6 sprite planes. Making the change
in intel_device_info.c accordingly

Signed-off-by: vsrini4 <vidya.srinivas@intel.com>
---
 drivers/gpu/drm/i915/intel_device_info.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_device_info.c b/drivers/gpu/drm/i915/intel_device_info.c
index 0ef0c64..7863cf8 100644
--- a/drivers/gpu/drm/i915/intel_device_info.c
+++ b/drivers/gpu/drm/i915/intel_device_info.c
@@ -761,7 +761,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)) {
-- 
2.7.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-29 10:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-28 23:11 [PATCH] drm/i915/icl: GEN11 supports 6 sprite planes vsrini4
2018-08-29  7:40 ` ✗ Fi.CI.BAT: failure for " Patchwork
2018-08-29 10:49 ` [PATCH] " Jani Nikula

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.