framebuffer for NV12 requires the pitch to the multiplier of 4, instead
of the width. This patch corrects it.
For instance, a 480p video, whose width and pitch are 854 and 896
respectively, is excluded for NV12 plane so far.
Signed-off-by: Dongseong Hwang
Cc: Chandra Konduru
Cc: Vidya Srinivas
framebuffer for NV12 requires the pitch to the multiplier of 4, instead of the
width. This patch corrects it.
For instance, a 480p video, whose width and pitch are 854 and 896 respectively,
is excluded for NV12 plane so far.
Signed-off-by: Dongseong Hwang
Cc: Chandra Konduru
Cc: Vidya Srinivas
dma_buf_mmap_internal() already checks for overflowing the buffer's size.
In addition, the check in i915_gem_dmabuf_mmap() is incomplete, which doesn't
consider a page offset.
---
drivers/gpu/drm/i915/i915_gem_dmabuf.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915
Signed-off-by: Dongseong Hwang
---
include/drm/drm_fourcc.h | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h
index e741b09..bf68099 100644
--- a/include/drm/drm_fourcc.h
+++ b/include/drm/drm_fourcc.h
@@ -34,6 +34,13
: Chad Versace
Signed-off-by: Dongseong Hwang
---
include/drm/drm_fourcc.h | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h
index e741b09..bf68099 100644
--- a/include/drm/drm_fourcc.h
+++ b/include/drm/drm_fourcc.h
an
R8 EGLImage and the UV plane as either an RG88 or GR88 EGLImage.
Cc: Rainer Hochecker
Cc: Benjamin Widawsky
CC: Chad Versace
Signed-off-by: Dongseong Hwang
---
include/drm/drm_fourcc.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/drm/drm_fourcc.h b/include/drm