dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: Michael Leuchtenburg <michael@slashhome.org>
Cc: "intel-gfx@lists.freedesktop.org"
	<intel-gfx@lists.freedesktop.org>,
	dri-devel@lists.freedesktop.org
Subject: Re: eDP display control registers in Linux kernel
Date: Wed, 25 Feb 2015 14:41:04 +0200	[thread overview]
Message-ID: <87r3tenoyn.fsf@intel.com> (raw)
In-Reply-To: <CABfYTXSn_8wQiRNdPKtrDVxX0wbMDVm0Nquq_f5zRc5+tmm5GQ@mail.gmail.com>

On Mon, 23 Feb 2015, Michael Leuchtenburg <michael@slashhome.org> wrote:
> I'm certain that it has dynamic backlight control of some sort, as the
> brightness varies based on content. I'm also sure it has an eDP panel, and
> an Intel graphics adapter. I'm not certain that DPCD will let me adjust it,
> or how to check, though the ChromeOS patch seems to assume that intel + edp
> -> DBC adjustable via DPCD.

I just sent a patch to dump the DPCD in debugfs [1]. Please apply that
on top of v4.0-rc1 or drm-intel-nightly, *and* add the following patch
on top. Please share the contents of
/sys/kernel/debug/dri/0/eDP-1/i915_dpcd running that (I assume the name
will be eDP-1).

BR,
Jani.


[1] http://patchwork.freedesktop.org/patch/43332


diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index 451ef456c25f..c66b0679d6e2 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -4672,6 +4672,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)

-- 
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2015-02-25 12:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CABfYTXSYiObPFoLJ2h-W-o0u-t_=_4YmM52Ma50fqofnWo8VTg@mail.gmail.com>
2015-02-23  7:59 ` eDP display control registers in Linux kernel Jani Nikula
2015-02-23 10:26   ` Stéphane Marchesin
2015-02-23 12:33   ` Michael Leuchtenburg
2015-02-25 12:41     ` Jani Nikula [this message]
2015-02-25 19:51       ` Michael Leuchtenburg
2015-02-25 22:56         ` Michael Leuchtenburg
2015-02-26  8:54           ` Jani Nikula
2015-02-28  9:44             ` Michael Leuchtenburg
2015-03-03 13:36               ` Jani Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r3tenoyn.fsf@intel.com \
    --to=jani.nikula@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=michael@slashhome.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).