diff options
author | Ville Syrjälä <[email protected]> | 2013-09-13 16:18:46 +0300 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2013-09-16 22:42:00 +0200 |
commit | 293623f7aa6d175d126135fb58c7a88c9695fd11 (patch) | |
tree | 4699418443a03106a54775e771d2741568d1ef55 /lib/memory-notifier-error-inject.c | |
parent | 6878da05006feb68efe23a6ae010b1a5df32ca5f (diff) |
drm/i915: Make i9xx_crtc_clock_get() use dpll_hw_state
We already extract the DPLL state to pipe_config, so let's make use of
it in i9xx_crtc_clock_get() and avoid the register reads.
This will also make the function closer to being useable with PCH DPLL
since the registers for those live in a different address.
Also kill the useless adjusted_mode.clock zeroing. It's already zero at
this point.
v2: Read out DPLL state in intel_crtc_mode_get()
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions