Commit 527f6d91 authored by Gerd Hoffmann's avatar Gerd Hoffmann
parent ff540b76
...@@ -169,6 +169,7 @@ config DRM_VRAM_HELPER ...@@ -169,6 +169,7 @@ config DRM_VRAM_HELPER
tristate tristate
depends on DRM depends on DRM
select DRM_TTM select DRM_TTM
select DRM_TTM_HELPER
help help
Helpers for VRAM memory management Helpers for VRAM memory management
......
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-License-Identifier: GPL-2.0-or-later
#include <drm/drm_gem_ttm_helper.h>
#include <drm/drm_gem_vram_helper.h> #include <drm/drm_gem_vram_helper.h>
#include <drm/drm_device.h> #include <drm/drm_device.h>
#include <drm/drm_mode.h> #include <drm/drm_mode.h>
...@@ -732,5 +733,6 @@ static const struct drm_gem_object_funcs drm_gem_vram_object_funcs = { ...@@ -732,5 +733,6 @@ static const struct drm_gem_object_funcs drm_gem_vram_object_funcs = {
.pin = drm_gem_vram_object_pin, .pin = drm_gem_vram_object_pin,
.unpin = drm_gem_vram_object_unpin, .unpin = drm_gem_vram_object_unpin,
.vmap = drm_gem_vram_object_vmap, .vmap = drm_gem_vram_object_vmap,
.vunmap = drm_gem_vram_object_vunmap .vunmap = drm_gem_vram_object_vunmap,
.print_info = drm_gem_ttm_print_info,
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment