diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2020-07-16 15:53:48 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2020-07-20 10:15:56 +0300 |
commit | a5f23a72355d8175506449a8b918785c9cd619ab (patch) | |
tree | 391de1b82c572eef1b8b726c27aaf79dbee007d5 /fs | |
parent | 40a55dc13e9dfa3a9575fd95633733554f4cde67 (diff) | |
download | linux-a5f23a72355d8175506449a8b918785c9cd619ab.tar.xz |
drm/vram-helper: Managed vram helpers
Calling drmm_vram_helper_init() sets up a managed instance of
VRAM MM. Releasing the DRM device also frees the memory manager.
The patch also updates the DRM documentation for VRAM helpers. The
tutorial now describes the new managed interface. The old interfaces
are deprecated and should not be used in new code.
v2:
* rename init function to drmm_vram_helper_init()
* return errno code from init function; caller does not
need vram_mm anyway
* update documentation and remove docs for deprecated
un-managed functions
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200716125353.31512-2-tzimmermann@suse.de
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions