diff options
author | Dave Airlie <[email protected]> | 2019-04-18 16:45:15 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-04-24 12:32:10 +1000 |
commit | b30a43ac7132cdda833ac4b13dd1ebd35ace14b7 (patch) | |
tree | ac7688bee66a9e6e6406e931554e9c5a543f0a6a /scripts/bpf_helpers_doc.py | |
parent | dbb92471674a48892f5e50779425e03388073ab9 (diff) |
drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)
There was a nouveau DDX that relied on legacy context ioctls to work,
but we fixed it years ago, give distros that have a modern DDX the
option to break the uAPI and close the mess of holes that legacy
context support is.
Full context of the story:
commit 0e975980d435d58df2d430d688b8c18778b42218
Author: Peter Antoine <[email protected]>
Date: Tue Jun 23 08:18:49 2015 +0100
drm: Turn off Legacy Context Functions
The context functions are not used by the i915 driver and should not
be used by modeset drivers. These driver functions contain several bugs
and security holes. This change makes these functions optional can be
turned on by a setting, they are turned off by default for modeset
driver with the exception of the nouvea driver that may require them with
an old version of libdrm.
The previous attempt was
commit 7c510133d93dd6f15ca040733ba7b2891ed61fd1
Author: Daniel Vetter <[email protected]>
Date: Thu Aug 8 15:41:21 2013 +0200
drm: mark context support as a legacy subsystem
but this had to be reverted
commit c21eb21cb50d58e7cbdcb8b9e7ff68b85cfa5095
Author: Dave Airlie <[email protected]>
Date: Fri Sep 20 08:32:59 2013 +1000
Revert "drm: mark context support as a legacy subsystem"
v2: remove returns from void function, and formatting (Daniel Vetter)
v3:
- s/Nova/nouveau/ in the commit message, and add references to the
previous attempts
- drop the part touching the drm hw lock, that should be a separate
patch.
Signed-off-by: Peter Antoine <[email protected]> (v2)
Cc: Peter Antoine <[email protected]> (v2)
Reviewed-by: Peter Antoine <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
v2: move DRM_VM dependency into legacy config.
v3: fix missing dep (kbuild robot)
Cc: [email protected]
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions