Add support for madvise and a shrinker similar to other drivers. This allows userspace to mark BOs which can be freed when there is memory pressure. Unlike other implementations, we don't depend on struct_mutex. The driver maintains a list of BOs which can be freed when the shrinker is called. Access to the list is serialized with the shrinker_lock. Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20190805143358.21245-2-robh@kernel.org
18 lines
589 B
Text
18 lines
589 B
Text
- Thermal support.
|
|
|
|
- Bifrost support:
|
|
- DT bindings (Neil, WIP)
|
|
- MMU page table format and address space setup
|
|
- Bifrost specific feature and issue handling
|
|
- Coherent DMA support
|
|
|
|
- Per FD address space support. The h/w supports multiple addresses spaces.
|
|
The hard part is handling when more address spaces are needed than what
|
|
the h/w provides.
|
|
|
|
- Support pinning pages on demand (GPU page faults).
|
|
|
|
- Support userspace controlled GPU virtual addresses. Needed for Vulkan. (Tomeu)
|
|
|
|
- Compute job support. So called 'compute only' jobs need to be plumbed up to
|
|
userspace.
|