summaryrefslogtreecommitdiffstats
path: root/fs/attr.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-03-06 12:36:42 +0000
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-03-10 09:59:36 +0100
commitc484f02d0f02fbbfc6decc945a69aae011041a27 (patch)
tree7f7abe1203e2b2edf231cdb33cafa36d15ec2b18 /fs/attr.c
parent3461b30b3e171e16498f3d7bc59ab703aec475c8 (diff)
downloadlinux-stable-c484f02d0f02fbbfc6decc945a69aae011041a27.tar.gz
linux-stable-c484f02d0f02fbbfc6decc945a69aae011041a27.tar.bz2
linux-stable-c484f02d0f02fbbfc6decc945a69aae011041a27.zip
drm: Lighten sysfs connector 'status'
Since the beginning, sysfs/connector/status has done a heavyweight detection of the current connector status. But no user, such as upowerd or logind, has ever desired to initiate a probe. Move the probing into a new attribute so that existing readers get the behaviour they desire. v2: David Herrmann suggested using "echo detect > /sys/.../status" to trigger the probing, which is a fine idea. This extends that to also allow the user to apply the force detection overrides at runtime. v3: Now with airlied's email address fixed! Requires sysfs_streq() Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: David Herrmann <dh.herrmann@gmail.com> Cc: Dave Airlie <airlied@redhat.com> Cc: Alex Deucher <alexdeucher@gmail.com> Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions