drm/i915/skl: Don't try to store the wrong central frequency
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 7 May 2015 17:38:47 +0000 (18:38 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 29 May 2015 08:15:26 +0000 (10:15 +0200)
commit877f61d947b6666205fee4ea7a04faf187a4ede5
tree6a439be709ddafb87b8d61328c3a630fecb7d697
parent6358298337abfabcf1e2b211c433f2093e5e9b28
drm/i915/skl: Don't try to store the wrong central frequency

The orignal code started by storing the actual central frequency (in Hz,
using a uint64_t) in a uint32_t which codes for the register value. That
can't be right.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c