diff options
| author | José Roberto de Souza <[email protected]> | 2018-09-18 17:48:09 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2018-09-21 09:19:40 +0000 |
| commit | adbc8208e6620ddfa10fd863cb0a4ec0c54d8625 (patch) | |
| tree | 489c50ed390f4f517d3c891a972c4bd7c0f5e139 /drivers/gpu/drm/drm_syncobj.c | |
| parent | drm/vkms: Fix possible memory leak in _vkms_get_crc() (diff) | |
| download | kernel-adbc8208e6620ddfa10fd863cb0a4ec0c54d8625.tar.gz kernel-adbc8208e6620ddfa10fd863cb0a4ec0c54d8625.zip | |
drm: Return -EOPNOTSUPP in drm_setclientcap() when driver do not support KMS
All DRM_CLIENT capabilities are tied to KMS support, so returning
-EOPNOTSUPP when KMS is not supported.
v2: returning -EOPNOTSUPP(same value as posix ENOTSUP and available
in uapi) instead of -ENOTSUPP
v3: adding comments about the feature requirement about capabilities
Cc: Chris Wilson <[email protected]>
Signed-off-by: José Roberto de Souza <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_syncobj.c')
0 files changed, 0 insertions, 0 deletions
