[PATCH 0/1] Add interface to allocate MediaTek GEM buffer
From: Shawn Sung
Date: Wed Mar 20 2024 - 02:41:13 EST
From: Hsiao Chien Sung <shawn.sung@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
- 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