video/rockchip: rga2: fix compile error on dma-buf-cache

Update driver version to 2.1.1

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I84da3bbb395a98db52ef750e8c34692fec07c4a6
This commit is contained in:
Yu Qiaowei
2024-12-12 10:46:07 +08:00
parent 07bc6420d1
commit fb2702ef30
2 changed files with 5 additions and 1 deletions

View File

@@ -12,7 +12,7 @@
/* Driver information */
#define DRIVER_DESC "RGA2 Device Driver"
#define DRIVER_NAME "rga2"
#define DRIVER_VERSION "2.1.0"
#define DRIVER_VERSION "2.1.1"
/* Logging */
#define RGA_DEBUG 1

View File

@@ -45,7 +45,11 @@
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0))
#include <linux/pm_runtime.h>
#ifdef CONFIG_DMABUF_CACHE
#include <linux/dma-buf-cache.h>
#else
#include <linux/dma-buf.h>
#endif
#endif
#include "rga2.h"