drm/i915: Warn when cdclk for the platforms is not known
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 22 May 2015 08:22:34 +0000 (11:22 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 29 May 2015 08:15:28 +0000 (10:15 +0200)
commit623e01e53927b05e96781532bdb40536e833e276
tree03a2c255e6b4a81082a026de95db823aa69e9c18
parent34edce2fea6960ce5855d6e09902f82822c374c5
drm/i915: Warn when cdclk for the platforms is not known

Print a warning if we fall through the .get_display_clock_speed() function
pointer setup. We end up assuming a 133MHz cdclk which should mean that
at least we avoid any 0 deivisions and whatnot. But this could at least
help remind people that they have to provide this function for new platforms.

v2: Rebased to the latest
v3: Rebased to the latest

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> (v1)
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c