From: Chris Wilson Date: Fri, 6 Mar 2015 12:36:42 +0000 (+0000) Subject: drm: Lighten sysfs connector 'status' X-Git-Tag: omap-for-v4.1/fixes-rc1~82^2~30^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c484f02d0f02fbbfc6decc945a69aae011041a27;p=pandora-kernel.git 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 Cc: Daniel Vetter Cc: David Herrmann Cc: Dave Airlie Cc: Alex Deucher Reviewed-by: David Herrmann Reviewed-by: Alex Deucher Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed