diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-12-01 16:37:31 +0900 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-12-06 13:27:35 +0100 |
commit | d5264ed3823abb0513cbdc5dd7444d4f61954409 (patch) | |
tree | e737e9ed7d4c13b897c67e5d61d38860638d5222 /net/lapb/lapb_in.c | |
parent | 75e75cbd55183ff12459666c0a1d3e71fe1481ab (diff) |
drm: Return -ENOTSUPP when called for KMS cap with a non-KMS driver
This is an attempt to make the previous fix a bit more robust going
forward.
v2:
* Only allow DRM_CAP_TIMESTAMP_MONOTONIC with UMS drivers (Daniel
Vetter, Alex Deucher)
* Different logic to keep DRM_CAP_TIMESTAMP_MONOTONIC separate from
the other caps (Daniel Vetter)
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161201073731.5716-1-michel@daenzer.net
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions