All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
To: Peter Wu <peter@lekensteyn.nl>
Cc: Jan-Marek Glogowski <glogow@fbihome.de>,
	Jani Nikula <jani.nikula@intel.com>,
	intel-gfx@lists.freedesktop.org,
	Rainer Koenig <Rainer.Koenig@ts.fujitsu.com>,
	Paolo Stivanin <paolostivanin@fastmail.fm>
Subject: Re: [PATCH 0/2] drm/i915/opregion: proper handling of DIDL and CADL
Date: Mon, 29 Aug 2016 22:06:15 -0300	[thread overview]
Message-ID: <20160830010615.GA2177@xfiles> (raw)
In-Reply-To: <20160827205151.GA1200@al>

Hi Jani,

These patches made my brightness and screen off hot keys back to work.

Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>

On Sat, Aug 27, 2016 at 10:51:51PM +0200, Peter Wu wrote:
> Hi Jani,
> 
> The method is somehow not reliable. At boot I was still able to capture
> brightness hotkeys (via acpi_listen). After starting SSDM and logging
> in, it still worked. Then I played a bit with PRIME output slaves, Xorg
> crashed at some points and hotkeys stopped working.
> 
> Inspection of CADL (via acpidbg) showed that it contained zeroes instead
> of 0x400. By poking more, suddenly the expected 0x400 value returned
> into CADL and hotkeys functioned again. At later moments it reverted to
> 0 again and hotkeys broke again.
> 
> Tracking down setters of active_crcts, I noticed that
> intel_modeset_readout_hw_state somehow does not detect eDP1 as active.
> Full dmesg log (9MiB) with drm.debug=0x1e (via sysfs) is available at
> 
> https://lekensteyn.nl/files/logs/journal-v4.8-rc3-183-g5e608a0-plus-2-cadl-patches.txt
> 
> Kind regards,
> Peter
> 
> On Thu, Aug 25, 2016 at 03:53:02PM +0300, Jani Nikula wrote:
> > This is the next iteration of [1] and [2]. Please review and/or test,
> > according to your abilities.
> > 
> > Thanks,
> > Jani.
> > 
> > Cc: Peter Wu <peter@lekensteyn.nl>
> > Cc: Rainer Koenig <Rainer.Koenig@ts.fujitsu.com>
> > Cc: Jan-Marek Glogowski <glogow@fbihome.de>
> > Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> > Cc: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
> > Cc: Paolo Stivanin <paolostivanin@fastmail.fm>
> > 
> > [1] http://mid.mail-archive.com/cover.1467214151.git.jani.nikula@intel.com
> > [2] http://mid.mail-archive.com/1471315782-925-1-git-send-email-marcos.souza.org@gmail.com
> > 
> > Jani Nikula (2):
> >   drm/i915: make i915 the source of acpi device ids for _DOD
> >   drm/i915/opregion: update cadl based on actually active outputs
> > 
> >  drivers/gpu/drm/i915/i915_drv.h       |   4 +
> >  drivers/gpu/drm/i915/intel_display.c  |   6 ++
> >  drivers/gpu/drm/i915/intel_drv.h      |   3 +
> >  drivers/gpu/drm/i915/intel_opregion.c | 157 +++++++++++++---------------------
> >  4 files changed, 74 insertions(+), 96 deletions(-)
> > 
> > -- 
> > 2.1.4
> > 
> 
> -- 
> Kind regards,
> Peter Wu
> https://lekensteyn.nl
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2016-08-30  1:06 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-25 12:53 [PATCH 0/2] drm/i915/opregion: proper handling of DIDL and CADL Jani Nikula
2016-08-25 12:53 ` [PATCH 1/2] drm/i915: make i915 the source of acpi device ids for _DOD Jani Nikula
2016-08-25 12:53 ` [PATCH 2/2] drm/i915/opregion: update cadl based on actually active outputs Jani Nikula
2016-08-25 12:59   ` Maarten Lankhorst
2016-08-25 13:20 ` ✗ Fi.CI.BAT: warning for drm/i915/opregion: proper handling of DIDL and CADL Patchwork
2016-08-25 18:56 ` [PATCH 0/2] " Paolo Stivanin
2016-08-26 12:12   ` Jani Nikula
2016-08-29  6:42   ` Maarten Lankhorst
2016-08-30 19:28     ` Paolo Stivanin
2016-08-31 17:57       ` tasev.stefanoska
2016-08-27 20:51 ` Peter Wu
2016-08-30  1:06   ` Marcos Paulo de Souza [this message]
2016-10-31 12:12 ` Rainer Koenig
2016-10-31 12:31   ` Jani Nikula
2016-10-31 12:32     ` Jani Nikula
2016-10-31 23:47       ` Marcos Souza
2016-11-07 12:30 ` Rainer Koenig
2016-11-16 14:32   ` Jani Nikula
2016-11-16 20:14     ` Paolo Stivanin
2016-11-17  1:39       ` Marcos Paulo de Souza

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=20160830010615.GA2177@xfiles \
    --to=marcos.souza.org@gmail.com \
    --cc=Rainer.Koenig@ts.fujitsu.com \
    --cc=glogow@fbihome.de \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=paolostivanin@fastmail.fm \
    --cc=peter@lekensteyn.nl \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.