All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/cnl: Symmetric scalers for each pipe
@ 2017-10-09 12:26 Mika Kahola
  2017-10-09 14:37 ` ✗ Fi.CI.BAT: warning for " Patchwork
  2017-10-11 12:43 ` [PATCH] " Ville Syrjälä
  0 siblings, 2 replies; 5+ messages in thread
From: Mika Kahola @ 2017-10-09 12:26 UTC (permalink / raw)
  To: intel-gfx; +Cc: rodrigo.vivi

For Cannonlake the number of scalers for each pipe is 2. Let's increase
the number of scalers for pipe C.

Signed-off-by: Mika Kahola <mika.kahola@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 875d428..b2ab6cb 100644
--- a/drivers/gpu/drm/i915/intel_device_info.c
+++ b/drivers/gpu/drm/i915/intel_device_info.c
@@ -347,7 +347,10 @@ void intel_device_info_runtime_init(struct drm_i915_private *dev_priv)
 	struct intel_device_info *info = mkwrite_device_info(dev_priv);
 	enum pipe pipe;
 
-	if (INTEL_GEN(dev_priv) >= 9) {
+	if (IS_CANNONLAKE(dev_priv)) {
+		for_each_pipe(dev_priv, pipe)
+			info->num_scalers[pipe] = 2;
+	} else if (INTEL_GEN(dev_priv) >= 9) {
 		info->num_scalers[PIPE_A] = 2;
 		info->num_scalers[PIPE_B] = 2;
 		info->num_scalers[PIPE_C] = 1;
-- 
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] 5+ messages in thread

end of thread, other threads:[~2017-10-24 10:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-09 12:26 [PATCH] drm/i915/cnl: Symmetric scalers for each pipe Mika Kahola
2017-10-09 14:37 ` ✗ Fi.CI.BAT: warning for " Patchwork
2017-10-11 12:43 ` [PATCH] " Ville Syrjälä
2017-10-11 13:08   ` Mika Kahola
2017-10-24 10:05     ` Maiti, Nabendu Bikash

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.