eDP display control registers in Linux kernel

Michael Leuchtenburg michael at slashhome.org
Wed Feb 25 11:51:56 PST 2015


Note to anyone else who might try this (I sent someone this way from IRC
who was also wondering the same thing about the XPS 13), these patches
don't apply to 4.0-rc1 since they're missing DP_EDP_DPCD_REV (and maybe
some other things, haven't dug in thoroughly yet). Also that patch doesn't
quite apply on top - just the line number is off, though.

Going to try on drm-intel-nightly 2015y-02m-25d-15h-57m-20s
(04996479ce17b980351d69de817e4432134121cd).

- Michael

diff --git a/drivers/gpu/drm/i915/i915_debugfs.c
b/drivers/gpu/drm/i915/i915_debugfs.c
index 81d40a3..0af59d0 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -4673,6 +4673,9 @@ static const struct dpcd_block i915_dpcd_debug[] = {
  { .offset = DP_SINK_COUNT, .end = DP_ADJUST_REQUEST_LANE2_3 },
  { .offset = DP_SET_POWER },
  { .offset = DP_EDP_DPCD_REV },
+    { .offset = 0x701, .end = 0x704 },
+    { .offset = 0x720, .end = 0x72f },
+    { .offset = 0x732, .end = 0x733 },
 };

 static int i915_dpcd_show(struct seq_file *m, void *data)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150225/9f73dff4/attachment-0001.html>


More information about the dri-devel mailing list