ext, member variables related
to memory alloc/free should be protected with ctx->lock.
Cc:
Signed-off-by: Jeongjun Park
---
drivers/gpu/drm/exynos/exynos_drm_vidi.c | 38
1 file changed, 32 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_v
This is a series of patches that address several memory bugs that occur
in the Exynos Virtual Display driver.
Jeongjun Park (3):
drm/exynos: vidi: use priv->vidi_dev for ctx lookup in vidi_connection_ioctl()
drm/exynos: vidi: fix to avoid directly dereferencing user pointer
drm/exynos: v
read this
exynos_drm_private->vidi_dev within ioctl() to obtain the correct
struct vidi_context pointer.
Cc:
Signed-off-by: Jeongjun Park
---
drivers/gpu/drm/exynos/exynos_drm_drv.h | 1 +
drivers/gpu/drm/exynos/exynos_drm_vidi.c | 14 +-
2 files changed, 14 insertions(+), 1 deletion(-)
ser() and use it.
Cc:
Signed-off-by: Jeongjun Park
---
drivers/gpu/drm/exynos/exynos_drm_vidi.c | 22 ++
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c
b/drivers/gpu/drm/exynos/exynos_drm_vidi.c
index 1fe297d51