All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/cnl: allow HDMI 2.0 clock rates
@ 2017-09-26 22:13 Rodrigo Vivi
  2017-09-26 22:37 ` ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rodrigo Vivi @ 2017-09-26 22:13 UTC (permalink / raw)
  To: intel-gfx; +Cc: Rodrigo Vivi, Paulo Zanoni

From: Shashank Sharma <shashank.sharma@intel.com>

From GLK onwards, Intel platforms contain native HDMI 2.0
controller, which is capable of driving clocks upto 600Mhz.
This patch updates the max tmds clock limit for the same.

V2: check for gen 10 and above (Ville)
    align the gen10 condition with upper line (Ander)
V3: rebase on top of patch-2-v3
v4: (by Rodrigo): Besides rebasing it s/gen9_lp/glk+ on this
    commit message.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 drivers/gpu/drm/i915/intel_hdmi.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
index e6f8f30ce7bd..f70591a024f0 100644
--- a/drivers/gpu/drm/i915/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/intel_hdmi.c
@@ -1222,6 +1222,8 @@ static int intel_hdmi_source_max_tmds_clock(struct drm_i915_private *dev_priv)
 {
 	if (IS_G4X(dev_priv))
 		return 165000;
+	else if (INTEL_INFO(dev_priv)->gen >= 10)
+		return 600000;
 	else if (IS_GEMINILAKE(dev_priv))
 		return 594000;
 	else if (IS_HASWELL(dev_priv) || INTEL_INFO(dev_priv)->gen >= 8)
-- 
2.13.5

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

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

* ✓ Fi.CI.BAT: success for drm/i915/cnl: allow HDMI 2.0 clock rates
  2017-09-26 22:13 [PATCH] drm/i915/cnl: allow HDMI 2.0 clock rates Rodrigo Vivi
@ 2017-09-26 22:37 ` Patchwork
  2017-09-27  1:02 ` [PATCH] " Rodrigo Vivi
  2017-09-27  9:01 ` ✗ Fi.CI.IGT: failure for " Patchwork
  2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2017-09-26 22:37 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/cnl: allow HDMI 2.0 clock rates
URL   : https://patchwork.freedesktop.org/series/30929/
State : success

== Summary ==

Series 30929v1 drm/i915/cnl: allow HDMI 2.0 clock rates
https://patchwork.freedesktop.org/api/1.0/series/30929/revisions/1/mbox/

Test chamelium:
        Subgroup dp-crc-fast:
                fail       -> PASS       (fi-kbl-7500u) fdo#102514
Test pm_rpm:
        Subgroup basic-rte:
                dmesg-warn -> PASS       (fi-cfl-s) fdo#102294
Test drv_module_reload:
        Subgroup basic-reload-inject:
                dmesg-warn -> PASS       (fi-glk-1) fdo#102777

fdo#102514 https://bugs.freedesktop.org/show_bug.cgi?id=102514
fdo#102294 https://bugs.freedesktop.org/show_bug.cgi?id=102294
fdo#102777 https://bugs.freedesktop.org/show_bug.cgi?id=102777

fi-bdw-5557u     total:289  pass:268  dwarn:0   dfail:0   fail:0   skip:21  time:437s
fi-bdw-gvtdvm    total:289  pass:265  dwarn:0   dfail:0   fail:0   skip:24  time:469s
fi-blb-e6850     total:289  pass:224  dwarn:1   dfail:0   fail:0   skip:64  time:417s
fi-bsw-n3050     total:289  pass:243  dwarn:0   dfail:0   fail:0   skip:46  time:527s
fi-bwr-2160      total:289  pass:184  dwarn:0   dfail:0   fail:0   skip:105 time:278s
fi-bxt-j4205     total:289  pass:260  dwarn:0   dfail:0   fail:0   skip:29  time:505s
fi-byt-j1900     total:289  pass:254  dwarn:1   dfail:0   fail:0   skip:34  time:491s
fi-byt-n2820     total:289  pass:250  dwarn:1   dfail:0   fail:0   skip:38  time:500s
fi-cfl-s         total:289  pass:223  dwarn:34  dfail:0   fail:0   skip:32  time:535s
fi-cnl-y         total:289  pass:258  dwarn:0   dfail:0   fail:4   skip:27  time:641s
fi-elk-e7500     total:289  pass:230  dwarn:0   dfail:0   fail:0   skip:59  time:418s
fi-glk-1         total:289  pass:260  dwarn:0   dfail:0   fail:0   skip:29  time:564s
fi-hsw-4770      total:289  pass:263  dwarn:0   dfail:0   fail:0   skip:26  time:426s
fi-hsw-4770r     total:289  pass:263  dwarn:0   dfail:0   fail:0   skip:26  time:402s
fi-ilk-650       total:289  pass:229  dwarn:0   dfail:0   fail:0   skip:60  time:435s
fi-ivb-3520m     total:289  pass:261  dwarn:0   dfail:0   fail:0   skip:28  time:487s
fi-ivb-3770      total:289  pass:261  dwarn:0   dfail:0   fail:0   skip:28  time:469s
fi-kbl-7500u     total:289  pass:264  dwarn:1   dfail:0   fail:0   skip:24  time:471s
fi-kbl-7560u     total:289  pass:270  dwarn:0   dfail:0   fail:0   skip:19  time:578s
fi-kbl-r         total:289  pass:262  dwarn:0   dfail:0   fail:0   skip:27  time:591s
fi-pnv-d510      total:289  pass:223  dwarn:1   dfail:0   fail:0   skip:65  time:542s
fi-skl-6260u     total:289  pass:269  dwarn:0   dfail:0   fail:0   skip:20  time:451s
fi-skl-6700k     total:289  pass:265  dwarn:0   dfail:0   fail:0   skip:24  time:745s
fi-skl-6770hq    total:289  pass:269  dwarn:0   dfail:0   fail:0   skip:20  time:488s
fi-skl-gvtdvm    total:289  pass:266  dwarn:0   dfail:0   fail:0   skip:23  time:477s
fi-snb-2520m     total:289  pass:251  dwarn:0   dfail:0   fail:0   skip:38  time:576s
fi-snb-2600      total:289  pass:250  dwarn:0   dfail:0   fail:0   skip:39  time:412s

13d4fadfbe072f2952fb0fda72f2176434b609f5 drm-tip: 2017y-09m-26d-20h-03m-18s UTC integration manifest
b0dfaaa5a7c8 drm/i915/cnl: allow HDMI 2.0 clock rates

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_5827/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: [PATCH] drm/i915/cnl: allow HDMI 2.0 clock rates
  2017-09-26 22:13 [PATCH] drm/i915/cnl: allow HDMI 2.0 clock rates Rodrigo Vivi
  2017-09-26 22:37 ` ✓ Fi.CI.BAT: success for " Patchwork
@ 2017-09-27  1:02 ` Rodrigo Vivi
  2017-09-27  9:01 ` ✗ Fi.CI.IGT: failure for " Patchwork
  2 siblings, 0 replies; 4+ messages in thread
From: Rodrigo Vivi @ 2017-09-27  1:02 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: intel-gfx, Paulo Zanoni

Please ignore this patch.

Freq is wrong... shoudl be 594000 as GLK but also other parts are
missing. Causes blank screen on CNL with HDMI 2.0 panel.

On Tue, Sep 26, 2017 at 3:13 PM, Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
> From: Shashank Sharma <shashank.sharma@intel.com>
>
> From GLK onwards, Intel platforms contain native HDMI 2.0
> controller, which is capable of driving clocks upto 600Mhz.
> This patch updates the max tmds clock limit for the same.
>
> V2: check for gen 10 and above (Ville)
>     align the gen10 condition with upper line (Ander)
> V3: rebase on top of patch-2-v3
> v4: (by Rodrigo): Besides rebasing it s/gen9_lp/glk+ on this
>     commit message.
>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
> Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
>  drivers/gpu/drm/i915/intel_hdmi.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
> index e6f8f30ce7bd..f70591a024f0 100644
> --- a/drivers/gpu/drm/i915/intel_hdmi.c
> +++ b/drivers/gpu/drm/i915/intel_hdmi.c
> @@ -1222,6 +1222,8 @@ static int intel_hdmi_source_max_tmds_clock(struct drm_i915_private *dev_priv)
>  {
>         if (IS_G4X(dev_priv))
>                 return 165000;
> +       else if (INTEL_INFO(dev_priv)->gen >= 10)
> +               return 600000;
>         else if (IS_GEMINILAKE(dev_priv))
>                 return 594000;
>         else if (IS_HASWELL(dev_priv) || INTEL_INFO(dev_priv)->gen >= 8)
> --
> 2.13.5
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* ✗ Fi.CI.IGT: failure for drm/i915/cnl: allow HDMI 2.0 clock rates
  2017-09-26 22:13 [PATCH] drm/i915/cnl: allow HDMI 2.0 clock rates Rodrigo Vivi
  2017-09-26 22:37 ` ✓ Fi.CI.BAT: success for " Patchwork
  2017-09-27  1:02 ` [PATCH] " Rodrigo Vivi
@ 2017-09-27  9:01 ` Patchwork
  2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2017-09-27  9:01 UTC (permalink / raw)
  To: Rodrigo Vivi; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/cnl: allow HDMI 2.0 clock rates
URL   : https://patchwork.freedesktop.org/series/30929/
State : failure

== Summary ==

Test kms_plane:
        Subgroup plane-panning-bottom-right-suspend-pipe-A-planes:
                pass       -> SKIP       (shard-hsw)
Test kms_setmode:
        Subgroup basic:
                fail       -> PASS       (shard-hsw) fdo#99912
Test gem_exec_capture:
        Subgroup capture-render:
                pass       -> INCOMPLETE (shard-hsw)

fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912

shard-hsw        total:2424 pass:1329 dwarn:1   dfail:0   fail:10  skip:1083 time:9791s

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_5827/shards.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2017-09-27  9:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-26 22:13 [PATCH] drm/i915/cnl: allow HDMI 2.0 clock rates Rodrigo Vivi
2017-09-26 22:37 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-09-27  1:02 ` [PATCH] " Rodrigo Vivi
2017-09-27  9:01 ` ✗ Fi.CI.IGT: failure for " Patchwork

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.