diff options
author | Ville Syrjälä <[email protected]> | 2015-09-10 18:59:07 +0300 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2015-10-14 13:41:57 +0300 |
commit | c4816c7389d8dbcad036be7e5a34584289d9f590 (patch) | |
tree | 0e3a28aa9658ab8c284d92c859b8113c35535196 /tools/perf/scripts/python/stackcollapse.py | |
parent | 2e2edebefceef201624dcc323a1f7761e0040cf5 (diff) |
drm/i915: Assign hwmode after encoder state readout
The dotclock is often calculated in encoder .get_config(), so we
shouldn't copy the adjusted_mode to hwmode until we have read out the
dotclock.
Gets rid of some warnings like these:
[drm:drm_calc_timestamping_constants [drm]] *ERROR* crtc 21: Can't calculate constants, dotclock = 0!
[drm:i915_get_vblank_timestamp] crtc 0 is disabled
v2: Steal Maarten's idea to move crtc->mode etc. assignment too
Cc: Maarten Lankhorst <[email protected]>
Cc: Patrik Jakobsson <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91428
Reviewed-by: Patrik Jakobsson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
[Jani: cherry-picked from -next to v4.3]
Acked-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions