drm/i915/dp: cache eDP DPCD data
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 7 Oct 2010 23:01:21 +0000 (16:01 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Oct 2010 09:28:26 +0000 (10:28 +0100)
commit896673836b8c55b75e7d7d2741aaaadff0c6a038
tree997f423cd95c1ec6d3e9fb3028b6493e81eec950
parent8088699f029b2a27af9bc5431ef7542c84195760
drm/i915/dp: cache eDP DPCD data

Cache the first 4 bytes of DPCD data in the eDP case.  It's unlikely to
change and can save us some trouble at link training time.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_dp.c