]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Read PSR caps/intermediate freqs/etc. only once on eDP
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 29 Jul 2016 13:52:39 +0000 (16:52 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 4 Aug 2016 12:50:14 +0000 (15:50 +0300)
commit1ae3691d6f380210bbb1d99ab0d796d9b25e26fa
treebc98ec662f6786f7aa4bd74ce4af4db08a625b8d
parent5f64b0f1fb48dea0fb6c2a9ec65149e05d392642
drm/i915: Read PSR caps/intermediate freqs/etc. only once on eDP

Currently we re-read a bunch of static eDP panel caps from the DPCD
over and over again. Let's do it only once to save some time and effort.

v2: Make thing less confusing with intel_edp_init_dpcd() (Chris)
    Move no_aux_handshake setup in there as well
v3: Move tps3/rate printout to intel_dp_long_pulse() so that
    we'll still get them on eDP as well

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> (v1)
Link: http://patchwork.freedesktop.org/patch/msgid/1469800359-7087-1-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_dp.c