]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/i915: Use intel_get_pipe_timings() and intel_mode_from_pipe_config() in intel_crt...
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 1 Apr 2016 18:48:50 +0000 (21:48 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 9 Oct 2017 14:48:08 +0000 (17:48 +0300)
commitd0d37254680fb15fdefe03a0986cfc1e22bcbfc4
treeb3588cfe7006b97e0e0f006ed1f7b99ac208933c
parente30a154b5262b967b133b06ac40777e651045898
drm/i915: Use intel_get_pipe_timings() and intel_mode_from_pipe_config() in intel_crtc_mode_get()

Eliminate the duplicate code for pipe timing readout in
intel_crtc_mode_get() by using the functions we use for the normal state
readout.

v2: Store dotclock in adjusted_mode instead of the final mode

Cc: dri-devel@lists.freedesktop.org
Cc: Rob Kramer <rob@solution-space.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Tested-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/1459536530-17754-1-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_display.c