[PATCH 0/1] Add interface to allocate MediaTek GEM buffer

Shawn Sung shawn.sung at mediatek.com
Tue Mar 19 23:40:42 PDT 2024


From: Hsiao Chien Sung <shawn.sung at mediatek.corp-partner.google.com>

Add an interface to allocate Mediatek GEM buffers, allow the IOCTLs
to be used by render nodes.
This patch also sets the RENDER driver feature.

This patch is:
- Based on 20240320024222.14234-1-shawn.sung at mediatek.com
- Reviewed on https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1955361

CK Hu (1):
  drm/mediatek: Add interface to allocate MediaTek GEM buffer.

 drivers/gpu/drm/mediatek/mtk_drm_drv.c | 16 ++++++-
 drivers/gpu/drm/mediatek/mtk_gem.c     | 40 ++++++++++++++++
 drivers/gpu/drm/mediatek/mtk_gem.h     | 11 +++++
 include/uapi/drm/mediatek_drm.h        | 64 ++++++++++++++++++++++++++
 4 files changed, 130 insertions(+), 1 deletion(-)
 create mode 100644 include/uapi/drm/mediatek_drm.h

--
2.18.0




More information about the Linux-mediatek mailing list