aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_ringbuffer.c
diff options
context:
space:
mode:
authorShobhit Kumar <shobhit.kumar@intel.com>2015-10-20 18:13:12 +0530
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-10-21 08:25:31 +0200
commitc73666f394fca498978f71e66062eb3e3f2c7951 (patch)
treedb6c83f314ef1db96747fddbe4fc05523fb338fe /drivers/gpu/drm/i915/intel_ringbuffer.c
parentdrm/i915: Break out common code from gen8_gt_irq_handler (diff)
downloadlinux-dev-c73666f394fca498978f71e66062eb3e3f2c7951.tar.xz
linux-dev-c73666f394fca498978f71e66062eb3e3f2c7951.zip
drm/i915/skl: If needed sanitize bios programmed cdclk
Especially in cases where pre-os does not enable display, cdclk might not be in sane state. During sanitization initialize cdclk with maximum value till we get dynamic cdclk support. v2: Check if BIOS programmed correctly rather than always calling init - Do validation of programmed cdctl and what it is expected - Only do slk_init_cdclk if validation failed else reuse BIOS programmed value v3: Move the validation logic in a separate sanitize function (Ville) v4: No need to check LCPLL after sanitize and use max_cdclk_freq instead of hardcoded value (Ville) Cc: Imre Deak <imre.deak@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Shobhit Kumar <shobhit.kumar@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1445344992-14658-1-git-send-email-shobhit.kumar@intel.com Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions