diff options
| author | Shobhit Kumar <shobhit.kumar@intel.com> | 2015-10-20 18:13:12 +0530 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-10-21 08:25:31 +0200 |
| commit | c73666f394fca498978f71e66062eb3e3f2c7951 (patch) | |
| tree | db6c83f314ef1db96747fddbe4fc05523fb338fe /tools/perf/scripts/python | |
| parent | fbcc1a0c3e36d6ddc19eb6a527518eaeef77645a (diff) | |
| download | linux-c73666f394fca498978f71e66062eb3e3f2c7951.tar.gz linux-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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
