diff options
| author | Leo Li <[email protected]> | 2019-07-23 19:28:04 -0400 |
|---|---|---|
| committer | Harry Wentland <[email protected]> | 2019-07-25 17:51:57 -0400 |
| commit | db432cd0960cd32d02ac8ef64deeed6dfe75b7cd (patch) | |
| tree | 5469614e3cc2b9a354fd2845acfa4beba08993ce /tools/perf/scripts/python/netdev-times.py | |
| parent | 7713c0f10dd52ff91a136566b91e7bcaabd4bda9 (diff) | |
drm/amd/display: Use connector kdev as aux device parent
Set the connector's kernel device as the parent for the aux kernel
device. This allows udev rules to access connector attributes when
creating symlinks to aux devices.
For example, the following udev rule:
SUBSYSTEM=="drm_dp_aux_dev", SUBSYSTEMS=="drm", ATTRS{edid}=="*",
SYMLINK+="drm_dp_aux/by-name/$id"
Will create the following symlinks using the connector's name:
$ ls /dev/drm_dp_aux/by-name/
card0-DP-1 card0-DP-2 card0-DP-3
Cc: Nicholas Kazlauskas <[email protected]>
Cc: Jerry (Fangzhi) Zuo <[email protected]>
Cc: Harry Wentland <[email protected]>
Signed-off-by: Leo Li <[email protected]>
Signed-off-by: Harry Wentland <[email protected]>
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions