[PATCH v2 0/2] Lima DRM driver
Qiang Yu
yuq825 at gmail.com
Mon Feb 25 14:07:15 UTC 2019
Kernel DRM driver for ARM Mali 400/450 GPUs.
This patch serial is based on 5.0-rc7 with Rob Herring's recent
drm_gem_object change:
https://patchwork.kernel.org/cover/10794421/
All lima commits are squashed. For whole history of this
driver's development, see:
https://gitlab.freedesktop.org/lima/linux/commits/lima-5.0-rc7
https://gitlab.freedesktop.org/lima/linux/commits/lima-5.0-rc6
https://gitlab.freedesktop.org/lima/linux/commits/lima-5.0-rc5
https://gitlab.freedesktop.org/lima/linux/commits/lima-4.17-rc4
Mesa driver is still in development and not ready for daily usage,
but can run some simple tests like kmscube and glamrk2, and some
single full screen application like kodi-gbm, see:
https://gitlab.freedesktop.org/lima/mesa
[v1]
https://lists.freedesktop.org/archives/dri-devel/2019-February/206260.html
[rfc]
https://lists.freedesktop.org/archives/dri-devel/2018-May/177314.html
Cc: Andreas Baierl <ichgeh at imkreisrum.de>
Cc: Erico Nunes <nunes.erico at gmail.com>
Cc: Heiko Stuebner <heiko at sntech.de>
Cc: Marek Vasut <marex at denx.de>
Cc: Neil Armstrong <narmstrong at baylibre.com>
Cc: Simon Shields <simon at lineageos.org>
Cc: Vasily Khoruzhick <anarsoul at gmail.com>
Cc: Rob Herring <robh at kernel.org>
Qiang Yu (2):
drm: export drm_timeout_abs_to_jiffies
drm/lima: driver for ARM Mali4xx GPUs
drivers/gpu/drm/Kconfig | 2 +
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/drm_syncobj.c | 3 +-
drivers/gpu/drm/lima/Kconfig | 9 +
drivers/gpu/drm/lima/Makefile | 21 ++
drivers/gpu/drm/lima/lima_bcast.c | 46 +++
drivers/gpu/drm/lima/lima_bcast.h | 14 +
drivers/gpu/drm/lima/lima_ctx.c | 105 +++++++
drivers/gpu/drm/lima/lima_ctx.h | 30 ++
drivers/gpu/drm/lima/lima_device.c | 376 +++++++++++++++++++++++
drivers/gpu/drm/lima/lima_device.h | 129 ++++++++
drivers/gpu/drm/lima/lima_dlbu.c | 56 ++++
drivers/gpu/drm/lima/lima_dlbu.h | 18 ++
drivers/gpu/drm/lima/lima_drv.c | 353 +++++++++++++++++++++
drivers/gpu/drm/lima/lima_drv.h | 46 +++
drivers/gpu/drm/lima/lima_gem.c | 379 +++++++++++++++++++++++
drivers/gpu/drm/lima/lima_gem.h | 25 ++
drivers/gpu/drm/lima/lima_gem_prime.c | 47 +++
drivers/gpu/drm/lima/lima_gem_prime.h | 13 +
drivers/gpu/drm/lima/lima_gp.c | 282 +++++++++++++++++
drivers/gpu/drm/lima/lima_gp.h | 16 +
drivers/gpu/drm/lima/lima_l2_cache.c | 80 +++++
drivers/gpu/drm/lima/lima_l2_cache.h | 14 +
drivers/gpu/drm/lima/lima_mmu.c | 142 +++++++++
drivers/gpu/drm/lima/lima_mmu.h | 16 +
drivers/gpu/drm/lima/lima_object.c | 128 ++++++++
drivers/gpu/drm/lima/lima_object.h | 36 +++
drivers/gpu/drm/lima/lima_pmu.c | 59 ++++
drivers/gpu/drm/lima/lima_pmu.h | 12 +
drivers/gpu/drm/lima/lima_pp.c | 423 ++++++++++++++++++++++++++
drivers/gpu/drm/lima/lima_pp.h | 19 ++
drivers/gpu/drm/lima/lima_regs.h | 298 ++++++++++++++++++
drivers/gpu/drm/lima/lima_sched.c | 403 ++++++++++++++++++++++++
drivers/gpu/drm/lima/lima_sched.h | 104 +++++++
drivers/gpu/drm/lima/lima_vm.c | 280 +++++++++++++++++
drivers/gpu/drm/lima/lima_vm.h | 62 ++++
include/drm/drm_utils.h | 4 +
include/uapi/drm/lima_drm.h | 126 ++++++++
38 files changed, 4176 insertions(+), 1 deletion(-)
create mode 100644 drivers/gpu/drm/lima/Kconfig
create mode 100644 drivers/gpu/drm/lima/Makefile
create mode 100644 drivers/gpu/drm/lima/lima_bcast.c
create mode 100644 drivers/gpu/drm/lima/lima_bcast.h
create mode 100644 drivers/gpu/drm/lima/lima_ctx.c
create mode 100644 drivers/gpu/drm/lima/lima_ctx.h
create mode 100644 drivers/gpu/drm/lima/lima_device.c
create mode 100644 drivers/gpu/drm/lima/lima_device.h
create mode 100644 drivers/gpu/drm/lima/lima_dlbu.c
create mode 100644 drivers/gpu/drm/lima/lima_dlbu.h
create mode 100644 drivers/gpu/drm/lima/lima_drv.c
create mode 100644 drivers/gpu/drm/lima/lima_drv.h
create mode 100644 drivers/gpu/drm/lima/lima_gem.c
create mode 100644 drivers/gpu/drm/lima/lima_gem.h
create mode 100644 drivers/gpu/drm/lima/lima_gem_prime.c
create mode 100644 drivers/gpu/drm/lima/lima_gem_prime.h
create mode 100644 drivers/gpu/drm/lima/lima_gp.c
create mode 100644 drivers/gpu/drm/lima/lima_gp.h
create mode 100644 drivers/gpu/drm/lima/lima_l2_cache.c
create mode 100644 drivers/gpu/drm/lima/lima_l2_cache.h
create mode 100644 drivers/gpu/drm/lima/lima_mmu.c
create mode 100644 drivers/gpu/drm/lima/lima_mmu.h
create mode 100644 drivers/gpu/drm/lima/lima_object.c
create mode 100644 drivers/gpu/drm/lima/lima_object.h
create mode 100644 drivers/gpu/drm/lima/lima_pmu.c
create mode 100644 drivers/gpu/drm/lima/lima_pmu.h
create mode 100644 drivers/gpu/drm/lima/lima_pp.c
create mode 100644 drivers/gpu/drm/lima/lima_pp.h
create mode 100644 drivers/gpu/drm/lima/lima_regs.h
create mode 100644 drivers/gpu/drm/lima/lima_sched.c
create mode 100644 drivers/gpu/drm/lima/lima_sched.h
create mode 100644 drivers/gpu/drm/lima/lima_vm.c
create mode 100644 drivers/gpu/drm/lima/lima_vm.h
create mode 100644 include/uapi/drm/lima_drm.h
--
2.17.1
More information about the dri-devel
mailing list