https://github.com/torvalds/linux
Revision 00b2b7288299a8c73c0c37b531a075ba5c849e67 authored by Ville Syrjälä on 20 December 2016, 15:39:02 UTC, committed by Jani Nikula on 03 January 2017, 09:37:01 UTC
Trying to determine the pixel rate of the pipe can't be done until we
know the clock, which means it can't be done until the encoder
.get_config() hooks have been called. So let's move the min_pixclk[]
stuff to the end of intel_modeset_readout_hw_state() when we actually
have gathered all the required infromation.

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Cc: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fixes: 565602d7501a ("drm/i915: Do not acquire crtc state to check clock during modeset, v4.")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161220153902.15621-1-ville.syrjala@linux.intel.com
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
(cherry picked from commit aca1ebf491518910df156f3dab6a66306bb52e28)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
1 parent 8581f1b
History
Tip revision: 00b2b7288299a8c73c0c37b531a075ba5c849e67 authored by Ville Syrjälä on 20 December 2016, 15:39:02 UTC
drm/i915: Move the min_pixclk[] handling to the end of readout
Tip revision: 00b2b72
File Mode Size
Kconfig -rw-r--r-- 2.7 KB
Makefile -rw-r--r-- 422 bytes
addr.c -rw-r--r-- 3.8 KB
addr.h -rw-r--r-- 615 bytes
atm_misc.c -rw-r--r-- 2.6 KB
atm_sysfs.c -rw-r--r-- 4.1 KB
br2684.c -rw-r--r-- 23.1 KB
clip.c -rw-r--r-- 22.4 KB
common.c -rw-r--r-- 21.4 KB
common.h -rw-r--r-- 1.6 KB
ioctl.c -rw-r--r-- 9.2 KB
lec.c -rw-r--r-- 59.7 KB
lec.h -rw-r--r-- 5.1 KB
lec_arpc.h -rw-r--r-- 2.9 KB
mpc.c -rw-r--r-- 38.2 KB
mpc.h -rw-r--r-- 1.9 KB
mpoa_caches.c -rw-r--r-- 14.2 KB
mpoa_caches.h -rw-r--r-- 3.0 KB
mpoa_proc.c -rw-r--r-- 7.2 KB
pppoatm.c -rw-r--r-- 15.6 KB
proc.c -rw-r--r-- 11.5 KB
protocols.h -rw-r--r-- 379 bytes
pvc.c -rw-r--r-- 3.7 KB
raw.c -rw-r--r-- 1.8 KB
resources.c -rw-r--r-- 9.9 KB
resources.h -rw-r--r-- 1019 bytes
signaling.c -rw-r--r-- 6.2 KB
signaling.h -rw-r--r-- 838 bytes
svc.c -rw-r--r-- 16.0 KB

back to top