diff options
author | Qiang Yu <yuq825@gmail.com> | 2019-10-10 22:01:50 +0800 |
---|---|---|
committer | Qiang Yu <yuq825@gmail.com> | 2019-10-17 23:41:03 +0800 |
commit | d61dd248ddadf85b3222b3f63c3d268fcc24beb4 (patch) | |
tree | 86b66859da2e01641750d01351302addee258397 /drivers/gpu/drm/lima/lima_mmu.c | |
parent | ce6eb0253cbacdf250cf894e34ca405d8c9e79da (diff) | |
download | linux-stable-d61dd248ddadf85b3222b3f63c3d268fcc24beb4.tar.gz linux-stable-d61dd248ddadf85b3222b3f63c3d268fcc24beb4.tar.bz2 linux-stable-d61dd248ddadf85b3222b3f63c3d268fcc24beb4.zip |
drm/lima: use drm_gem_shmem_helpers
Do not need to maintain our own shmem memory management
code as drm_gem_shmem_helpers provides it. And we can
also benifit from the work of others with shared code.
This is also a preparation for implementing buffer madv.
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191010140152.17747-2-yuq825@gmail.com
Diffstat (limited to 'drivers/gpu/drm/lima/lima_mmu.c')
-rw-r--r-- | drivers/gpu/drm/lima/lima_mmu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/lima/lima_mmu.c b/drivers/gpu/drm/lima/lima_mmu.c index 8e1651d6a61f..97ec09dee572 100644 --- a/drivers/gpu/drm/lima/lima_mmu.c +++ b/drivers/gpu/drm/lima/lima_mmu.c @@ -8,7 +8,6 @@ #include "lima_device.h" #include "lima_mmu.h" #include "lima_vm.h" -#include "lima_object.h" #include "lima_regs.h" #define mmu_write(reg, data) writel(data, ip->iomem + reg) |