diff options
author | Thomas Zimmermann <[email protected]> | 2024-10-14 10:55:25 +0200 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2024-10-18 09:23:03 +0200 |
commit | 1f828b4dd40264028d9b481c0412e63837d968f6 (patch) | |
tree | 68fbf9443e46d033455ef91047094fe6c1070bd8 /tools/perf/scripts/python/sched-migration.py | |
parent | 88c79de8575c0061a5cdf23c65f8b1ae6202f0d5 (diff) |
drm/client: Make client support optional
Only build client code if DRM_CLIENT has been selected. Automatially
do so if one of the default clients has been enabled. If client support
has been disabled, the helpers for client-related events are empty and
the regular client functions are not present.
Amdgpu has an internal DRM client, so it has to select DRM_CLIENT by
itself unconditionally.
v3:
- provide empty drm_client_debugfs_init() if DRM_CLIENT=n (kernel
test robot)
Signed-off-by: Thomas Zimmermann <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: Xinhui Pan <[email protected]>
Reviewed-by: Jonathan Cavitt <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions