diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-03-08 20:52:20 +0100 |
---|---|---|
committer | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2022-03-16 17:42:23 +0100 |
commit | d339386c9ffa69d20fcc34f3636dea80ea71818c (patch) | |
tree | 14c0d31e42e12dfbb410ed6e8565861fb08b2bea /drivers/gpu/drm/gma500/gtt.h | |
parent | drm/gma500: Inline psb_gtt_restore() (diff) | |
download | linux-d339386c9ffa69d20fcc34f3636dea80ea71818c.tar.xz linux-d339386c9ffa69d20fcc34f3636dea80ea71818c.zip |
drm/gma500: Move GEM memory management functions to gem.c
Move GEM functions from gtt.c to gem.c. Adapt some names. No
functional changes.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220308195222.13471-11-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/gma500/gtt.h')
-rw-r--r-- | drivers/gpu/drm/gma500/gtt.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/gma500/gtt.h b/drivers/gpu/drm/gma500/gtt.h index 9a6d79200dce..d5a5fd4466c1 100644 --- a/drivers/gpu/drm/gma500/gtt.h +++ b/drivers/gpu/drm/gma500/gtt.h @@ -33,12 +33,9 @@ int psb_gtt_allocate_resource(struct drm_psb_private *pdev, struct resource *res const char *name, resource_size_t size, resource_size_t align, bool stolen, u32 *offset); +uint32_t psb_gtt_mask_pte(uint32_t pfn, int type); void psb_gtt_insert_pages(struct drm_psb_private *pdev, const struct resource *res, struct page **pages); void psb_gtt_remove_pages(struct drm_psb_private *pdev, const struct resource *res); -int psb_gem_mm_init(struct drm_device *dev); -void psb_gem_mm_fini(struct drm_device *dev); -int psb_gem_mm_resume(struct drm_device *dev); - #endif |