Re: [PATCH] drm: Call sysfs_notify after changing drm_connector::dpms

2017-09-27 Thread Karsten Wiese
2017-09-27 14:58 GMT+02:00 Jani Nikula <jani.nik...@linux.intel.com>: > On Wed, 27 Sep 2017, Daniel Vetter <dan...@ffwll.ch> wrote: > > On Wed, Sep 27, 2017 at 12:20:21PM +0200, Karsten Wiese wrote: > >> 2017-09-27 9:18 GMT+02:00 Jani Nikula <jani.nik...@linux.i

Re: [PATCH] drm: Call sysfs_notify after changing drm_connector::dpms

2017-09-27 Thread Karsten Wiese
2017-09-27 10:45 GMT+02:00 Daniel Vetter <dan...@ffwll.ch>: > On Wed, Sep 27, 2017 at 12:29:46AM +0200, Karsten Wiese wrote: > > 2017-09-25 15:48 GMT+02:00 Jani Nikula <jani.nik...@linux.intel.com>: > > > > > On Tue, 19 Sep 2017, Karsten Wiese <fzu...@go

Re: [PATCH] drm: Call sysfs_notify after changing drm_connector::dpms

2017-09-27 Thread Karsten Wiese
2017-09-27 9:18 GMT+02:00 Jani Nikula <jani.nik...@linux.intel.com>: > On Wed, 27 Sep 2017, Karsten Wiese <fzu...@googlemail.com> wrote: > > 2017-09-25 15:48 GMT+02:00 Jani Nikula <jani.nik...@linux.intel.com>: > > > >> On Tue, 19 Sep 2017, K

Re: [PATCH] drm: Call sysfs_notify after changing drm_connector::dpms

2017-09-26 Thread Karsten Wiese
2017-09-25 15:48 GMT+02:00 Jani Nikula <jani.nik...@linux.intel.com>: > On Tue, 19 Sep 2017, Karsten Wiese <fzu...@googlemail.com> wrote: > > This makes poll work for the > > /sys/class/drm/cardX/connectorY/dpms attributes. > > I guess the question is, wha

[PATCH] drm: Call sysfs_notify after changing drm_connector::dpms

2017-09-19 Thread Karsten Wiese
This makes poll work for the /sys/class/drm/cardX/connectorY/dpms attributes. Tested with i915 suspended by XScreenServer and suspend to RAM. Signed-off-by: Karsten Wiese <fzu...@googlemail.com> --- drivers/gpu/drm/drm_atomic.c| 4 drivers/gpu/drm/drm_atomic_helper.c | 6 +++