todo.rst (35bb28ece90dfb7f72b77ba529f25f79323d9581) | todo.rst (659ab7a49cbebe0deffcbe1f9560e82006b21817) |
---|---|
1.. _todo: 2 3========= 4TODO list 5========= 6 7This section contains a list of smaller janitorial tasks in the kernel DRM 8graphics subsystem useful as newbie projects. Or for slow rainy days. --- 599 unchanged lines hidden (view full) --- 608 609- Cleanup up the various ->destroy callbacks. A lot of them just wrapt the 610 drm_*_cleanup implementations and can be removed. Some tack a kfree() at the 611 end, for which we could add drm_*_cleanup_kfree(). And then there's the (for 612 historical reasons) misnamed drm_primary_helper_destroy() function. 613 614Level: Intermediate 615 | 1.. _todo: 2 3========= 4TODO list 5========= 6 7This section contains a list of smaller janitorial tasks in the kernel DRM 8graphics subsystem useful as newbie projects. Or for slow rainy days. --- 599 unchanged lines hidden (view full) --- 608 609- Cleanup up the various ->destroy callbacks. A lot of them just wrapt the 610 drm_*_cleanup implementations and can be removed. Some tack a kfree() at the 611 end, for which we could add drm_*_cleanup_kfree(). And then there's the (for 612 historical reasons) misnamed drm_primary_helper_destroy() function. 613 614Level: Intermediate 615 |
616Remove automatic page mapping from dma-buf importing 617---------------------------------------------------- 618 619When importing dma-bufs, the dma-buf and PRIME frameworks automatically map 620imported pages into the importer's DMA area. drm_gem_prime_fd_to_handle() and 621drm_gem_prime_handle_to_fd() require that importers call dma_buf_attach() 622even if they never do actual device DMA, but only CPU access through 623dma_buf_vmap(). This is a problem for USB devices, which do not support DMA 624operations. 625 626To fix the issue, automatic page mappings should be removed from the 627buffer-sharing code. Fixing this is a bit more involved, since the import/export 628cache is also tied to &drm_gem_object.import_attach. Meanwhile we paper over 629this problem for USB devices by fishing out the USB host controller device, as 630long as that supports DMA. Otherwise importing can still needlessly fail. 631 632Contact: Thomas Zimmermann <tzimmermann@suse.de>, Daniel Vetter 633 634Level: Advanced 635 636 |
|
616Better Testing 617============== 618 619Enable trinity for DRM 620---------------------- 621 622And fix up the fallout. Should be really interesting ... 623 --- 104 unchanged lines hidden --- | 637Better Testing 638============== 639 640Enable trinity for DRM 641---------------------- 642 643And fix up the fallout. Should be really interesting ... 644 --- 104 unchanged lines hidden --- |