]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix hdmi portclock limits
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 22 Jul 2013 16:02:39 +0000 (18:02 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Jul 2013 06:38:39 +0000 (08:38 +0200)
commit966c36d047bbbd8073e96f53ee2d8effacb712a7
tree9ec5a391b60ce26f0e09c172c9023903ad379872
parentd48fff0728849ba5d8ded9d5249729f4d6772e31
drm/i915: fix hdmi portclock limits

In

commit 33d9015f59ce61e5cd7d725d88552c7f8325dd7d
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Apr 19 11:24:33 2013 +0200

    drm/i915: fixup 12bpc hdmi dotclock handling

I've errornously claimed that we don't yet support the hdmi 1.4
dotclocks > 225 MHz on Haswell. But a bug report and a closer look at
the wrpll table showed that we've supported port clocks up to 300MHz.

With the new code to dynamically compute wrpll limits we should have
no issues going up to the full 340 MHz range of hdmi 1.4, so let's
just use that to fix this regression. That'll allow 4k over hdmi for
free!

v2: Drop the random hunk that somehow slipped in.

v3: Cantiga has the original HDMI dotclock limit of 165MHz. And also
patch up the mode filtering. To do so extract the dotclock limits into
a little helper function.

v4: Use 300MHz (from Bspec) instead of 340MHz (upper limit for hdmi
1.3), apparently hw is not required to be able to drive the highest
dotclocks. Suggested by Damien.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67048
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67030
Tested-by: Andreas Reis <andreas.reis@gmail.com> (v2)
Cc: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_hdmi.c