diff options
| author | Daniel Vetter <[email protected]> | 2015-11-19 16:46:50 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2015-11-24 10:49:34 +0000 |
| commit | ed293f7754934b26c6f3db0dbc39ec2ed990f286 (patch) | |
| tree | ab5bb4e8cfc30400729c16d9d967313d492d37c9 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/atomic: Small documentation fix. (diff) | |
| download | kernel-ed293f7754934b26c6f3db0dbc39ec2ed990f286.tar.gz kernel-ed293f7754934b26c6f3db0dbc39ec2ed990f286.zip | |
drm/sysfs: Send out uevent when connector->force changes
To avoid even more code duplication punt this all to the probe worker,
which needs some slight adjustment to also generate a uevent when the
status has changed to due connector->force.
v2: Instead of running the output_poll_work (which is kinda the wrong
thing and a layering violation since it's an internal of the probe
helpers), or calling ->detect (which is again a layering violation
since it's used only by probe helpers) just call the official
->fill_modes function, like a GET_CONNECTOR ioctl call.
v3: Restore the accidentally removed forced-probe for echo "detect" >
force.
Cc: Chris Wilson <[email protected]>
Reported-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
