Re: [PATCH 0/2] drm/i915/opregion: proper handling of DIDL and CADL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
> Cc: Rainer Koenig <Rainer.Koenig@xxxxxxxxxxxxxx>
> Cc: Jan-Marek Glogowski <glogow@xxxxxxxxxx>
> Cc: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
> Cc: Marcos Paulo de Souza <marcos.souza.org@xxxxxxxxx>
> Cc: Paolo Stivanin <paolostivanin@xxxxxxxxxxx>
> 
> [1] http://mid.mail-archive.com/cover.1467214151.git.jani.nikula@xxxxxxxxx
> [2] http://mid.mail-archive.com/1471315782-925-1-git-send-email-marcos.souza.org@xxxxxxxxx
> 
> 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux