[Intel-gfx] [PATCH v2] drm/i915: correct the pitch check for NV12 framebuffer

2018-12-11 Thread Dongseong Hwang
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

[Intel-gfx] [PATCH] drm/i915: remove the unnecessary restriction for NV12 in intel_framebuffer_init

2018-08-08 Thread Dongseong Hwang
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

[Intel-gfx] [PATCH] drm/i915: remove the duplicated size check in i915_gem_dmabuf_mmap()

2017-05-10 Thread Dongseong Hwang
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

[Intel-gfx] [PATCH v2] libdrm/fourcc: Add formats R8, RG88, GR88, NV24, NV42

2016-04-21 Thread Dongseong Hwang
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

[Intel-gfx] [PATCH] libdrm/fourcc: Add formats R8, RG88, GR88, NV24, NV42

2016-04-21 Thread Dongseong Hwang
: 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

[Intel-gfx] [PATCH] libdrm/fourcc: Add formats R8, RG88, GR88

2016-04-21 Thread Dongseong Hwang
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