diff options
Diffstat (limited to 'Documentation/gpu')
| -rw-r--r-- | Documentation/gpu/todo.rst | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst index 31ef4adc91c9..ab347dec5079 100644 --- a/Documentation/gpu/todo.rst +++ b/Documentation/gpu/todo.rst | |||
| @@ -28,22 +28,16 @@ them, but also all the virtual ones used by KVM, so everyone qualifies). | |||
| 28 | 28 | ||
| 29 | Contact: Daniel Vetter, Thierry Reding, respective driver maintainers | 29 | Contact: Daniel Vetter, Thierry Reding, respective driver maintainers |
| 30 | 30 | ||
| 31 | Switch from reference/unreference to get/put | ||
| 32 | -------------------------------------------- | ||
| 33 | |||
| 34 | For some reason DRM core uses ``reference``/``unreference`` suffixes for | ||
| 35 | refcounting functions, but kernel uses ``get``/``put`` (e.g. | ||
| 36 | ``kref_get``/``put()``). It would be good to switch over for consistency, and | ||
| 37 | it's shorter. Needs to be done in 3 steps for each pair of functions: | ||
| 38 | 31 | ||
| 39 | * Create new ``get``/``put`` functions, define the old names as compatibility | 32 | Remove custom dumb_map_offset implementations |
| 40 | wrappers | 33 | --------------------------------------------- |
| 41 | * Switch over each file/driver using a cocci-generated spatch. | ||
| 42 | * Once all users of the old names are gone, remove them. | ||
| 43 | 34 | ||
| 44 | This way drivers/patches in the progress of getting merged won't break. | 35 | All GEM based drivers should be using drm_gem_create_mmap_offset() instead. |
| 36 | Audit each individual driver, make sure it'll work with the generic | ||
| 37 | implementation (there's lots of outdated locking leftovers in various | ||
| 38 | implementations), and then remove it. | ||
| 45 | 39 | ||
| 46 | Contact: Daniel Vetter | 40 | Contact: Daniel Vetter, respective driver maintainers |
| 47 | 41 | ||
| 48 | Convert existing KMS drivers to atomic modesetting | 42 | Convert existing KMS drivers to atomic modesetting |
| 49 | -------------------------------------------------- | 43 | -------------------------------------------------- |
