updated exynos-drm-fixes
Hello Dave,
Please pull from
git://git.infradead.org/users/kmpark/linux-samsung exynos-drm-fixes
these patch sets are based on git repository below:
git://people.freedesktop.org/~airlied/linux.git drm-fixes commit-id: a3928c6b5f43bcd561802b52049b6024b8da675f
this pull requst includes previous one and new two patches posted last week for review. so please ignore previous request and pull this one. for previous request, you can refer to below link:
http://comments.gmane.org/gmane.comp.video.dri.devel/71136
this patch set includes the following:
- change exynos gem allocation interface.
. this patch makes non-contiguous memory allocation request allocate pages
from highmem through alloc_page() with GFP_HIGHUSER_MOVABLE because cpu may read garbage data from cache once gpu operation is completed with allocated pages.
shmem_read_mapping_page_gfp() first tries to allocate pages from page cache so if pages are alloated from page cache then these pages could have valid line and we had faced with this issue.
- check if framebuffer and gem size are valid or not.
. with addfb or addfb2 request by user, invalid framebuffer or gem size
could be sent into kernel side so this could induce invalid memory access by dma of a device. so this patch checks if framebuffer and gem size are valid or not.
- add exception codes to vidi module.
. edid data from user should be allocatd and copied into vidi context and
also freed with disconnection.
- and code clean.
please let me know it there is any problem.
Thanks.
Cooper Yuan (1):
drm/exynos: fix buffer pitch calculation
Inki Dae (14):
drm/exynos: removed unnecessary declaration. drm/exynos: set edid fake data only for test. drm/exynos: check if raw edid data is fake or not for test drm/exynos: fixed edid data setting at vidi connection request drm/exynos: fixed build warning.
drm/exynos: use alloc_page() to allocate pages. drm/exynos: set buffer type from exporter. drm/exynos: do not release memory region from exporter. drm/exynos: removed unnecessary variable
drm/exynos: fixed a comment to gem size.
drm/exynos: add packed_size not aligned in page unit. drm/exynos: check if framebuffer and gem size are valid or not. drm/exynos: use __free_page() to deallocate memory drm/exynos: fixed exception to page allocation failure
Sachin Kamat (4):
drm/exynos: Add missing static storage class specifier drm/exynos: Use devm_* functions in exynos_drm_fimd.c drm/exynos: Use devm_* functions in exynos_hdmi.c drm/exynos: Use devm_* functions in exynos_mixer.c
Subash Patel (2):
drm/exynos: return NULL if exynos_pages_to_sg fails drm/exynos: check for null in return value of
dma_buf_map_attachment()
drivers/gpu/drm/exynos/exynos_drm_connector.c | 3 +- drivers/gpu/drm/exynos/exynos_drm_core.c | 5 -- drivers/gpu/drm/exynos/exynos_drm_dmabuf.c | 33 ++++++++++++---- drivers/gpu/drm/exynos/exynos_drm_fb.c | 47 +++++++++++++++++++++- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 40 ++++--------------- drivers/gpu/drm/exynos/exynos_drm_gem.c | 51 +++++++++++------------- drivers/gpu/drm/exynos/exynos_drm_gem.h | 6 ++- drivers/gpu/drm/exynos/exynos_drm_vidi.c | 53 +++++++++++++++++++------ drivers/gpu/drm/exynos/exynos_hdmi.c | 36 +++------------- drivers/gpu/drm/exynos/exynos_mixer.c | 48 +++++++---------------- 10 files changed, 170 insertions(+), 152 deletions(-)
Signature · 1 line
1.7.4.1
Hi Inki,
how urgent is this? Linus isn't really up for something this large post -rc7, major regressions or oops fixes only at this point.
If its not urgent can we just stick it in -next and if needs be you can get stable on required patches.
Dave.
Quoted 83 lines
Please pull from
git://git.infradead.org/users/kmpark/linux-samsungexynos-drm-fixesthese patch sets are based on git repository below:
git://people.freedesktop.org/~airlied/linux.git drm-fixes commit-id: a3928c6b5f43bcd561802b52049b6024b8da675fthis pull requst includes previous one and new two patches posted last week for review. so please ignore previous request and pull this one. for previous request, you can refer to below link:
http://comments.gmane.org/gmane.comp.video.dri.devel/71136this patch set includes the following:
- change exynos gem allocation interface.
. this patch makes non-contiguous memory allocation request allocate pages
from highmem throughalloc_page()withGFP_HIGHUSER_MOVABLEbecause cpu may read garbage data from cache once gpu operation is completed with allocated pages.
shmem_read_mapping_page_gfp()first tries to allocate pages from page cache so if pages are alloated from page cache then these pages could have valid line and we had faced with this issue.
- check if framebuffer and gem size are valid or not.
. with addfb or addfb2 request by user, invalid framebuffer or gem size
could be sent into kernel side so this could induce invalid memory access by dma of a device. so this patch checks if framebuffer and gem size are valid or not.
- add exception codes to vidi module.
. edid data from user should be allocatd and copied into vidi context and
also freed with disconnection.
- and code clean.please let me know it there is any problem.
Thanks.Cooper Yuan (1):
drm/exynos: fix buffer pitch calculationInki Dae (14):
drm/exynos: removed unnecessary declaration. drm/exynos: set edid fake data only for test. drm/exynos: check if raw edid data is fake or not for test drm/exynos: fixed edid data setting at vidi connection request drm/exynos: fixed build warning.
drm/exynos: usealloc_page()to allocate pages. drm/exynos: set buffer type from exporter. drm/exynos: do not release memory region from exporter. drm/exynos: removed unnecessary variable
drm/exynos: fixed a comment to gem size.
drm/exynos: addpacked_sizenot aligned in page unit. drm/exynos: check if framebuffer and gem size are valid or not. drm/exynos: use__free_page()to deallocate memory drm/exynos: fixed exception to page allocation failureSachin Kamat (4):
drm/exynos: Add missing static storage class specifier drm/exynos: Use devm_* functions inexynos_drm_fimd.cdrm/exynos: Use devm_* functions inexynos_hdmi.cdrm/exynos: Use devm_* functions inexynos_mixer.cSubash Patel (2):
drm/exynos: return NULL ifexynos_pages_to_sgfails drm/exynos: check for null in return value of
dma_buf_map_attachment()drivers/gpu/drm/exynos/exynos_drm_connector.c | 3 +- drivers/gpu/drm/exynos/exynos_drm_core.c | 5 -- drivers/gpu/drm/exynos/exynos_drm_dmabuf.c | 33 ++++++++++++---- drivers/gpu/drm/exynos/exynos_drm_fb.c | 47 +++++++++++++++++++++- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 40 ++++--------------- drivers/gpu/drm/exynos/exynos_drm_gem.c | 51 +++++++++++------------- drivers/gpu/drm/exynos/exynos_drm_gem.h | 6 ++- drivers/gpu/drm/exynos/exynos_drm_vidi.c | 53 +++++++++++++++++++------ drivers/gpu/drm/exynos/exynos_hdmi.c | 36 +++------------- drivers/gpu/drm/exynos/exynos_mixer.c | 48 +++++++---------------- 10 files changed, 170 insertions(+), 152 deletions(-)--
1.7.4.1_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Dave,
Quoted 8 lines
-----Original Message-----
From: Dave Airlie [mailto:[email protected]]
Sent: Wednesday, July 18, 2012 5:14 PM
To: Inki Dae
Cc: [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [GIT PULL] updated exynos-drm-fixes
Quoted 8 lines
Hi Inki,
how urgent is this? Linus isn't really up for something this large post -rc7, major regressions or oops fixes only at this point.
If its not urgent can we just stick it in -next and if needs be you can get stable on required patches.
Understood. we aren't urgent. so I will merge this patch set to exynos-drm-next and then request pull again so that they can be merged to drm-core-next.
Thanks,
Inki Dae.
Quoted 16 lines
Dave.
Quoted 2 lines
Please pull from
git://git.infradead.org/users/kmpark/linux-samsungexynos-drm-fixes
Quoted 6 lines
these patch sets are based on git repository below:
git://people.freedesktop.org/~airlied/linux.git drm-fixes commit-id: a3928c6b5f43bcd561802b52049b6024b8da675fthis pull requst includes previous one and new two patches posted last
week
Quoted 4 lines
for review. so please ignore previous request and pull this one. for previous request, you can refer to below link:
http://comments.gmane.org/gmane.comp.video.dri.devel/71136
Quoted 9 lines
Quoted 3 lines
this patch set includes the following:
- change exynos gem allocation interface.
. this patch makes non-contiguous memory allocation request allocatepages
Quoted 2 lines
from highmem through
alloc_page()withGFP_HIGHUSER_MOVABLEbecause cpu may read garbage data from cache once gpu operation is completedwith
Quoted 2 lines
allocated pages.
shmem_read_mapping_page_gfp()first tries to allocate pages from
page
Quoted 1 line
Quoted 1 line
cache so if pages are alloated from page cache then these pages
could
Quoted 46 lines
Quoted 3 lines
have valid line and we had faced with this issue.
- check if framebuffer and gem size are valid or not.
. with addfb or addfb2 request by user, invalid framebuffer or gemsize
Quoted 5 lines
could be sent into kernel side so this could induce invalid memory access by dma of a device. so this patch checks if framebuffer and gem size are valid or not.
- add exception codes to vidi module.
. edid data from user should be allocatd and copied into vidi contextand
Quoted 36 lines
also freed with disconnection.
- and code clean.please let me know it there is any problem.
Thanks.Cooper Yuan (1):
drm/exynos: fix buffer pitch calculationInki Dae (14):
drm/exynos: removed unnecessary declaration. drm/exynos: set edid fake data only for test. drm/exynos: check if raw edid data is fake or not for test drm/exynos: fixed edid data setting at vidi connection request drm/exynos: fixed build warning.
drm/exynos: usealloc_page()to allocate pages. drm/exynos: set buffer type from exporter. drm/exynos: do not release memory region from exporter. drm/exynos: removed unnecessary variable
drm/exynos: fixed a comment to gem size.
drm/exynos: addpacked_sizenot aligned in page unit. drm/exynos: check if framebuffer and gem size are valid or not. drm/exynos: use__free_page()to deallocate memory drm/exynos: fixed exception to page allocation failureSachin Kamat (4):
drm/exynos: Add missing static storage class specifier drm/exynos: Use devm_* functions inexynos_drm_fimd.cdrm/exynos: Use devm_* functions inexynos_hdmi.cdrm/exynos: Use devm_* functions inexynos_mixer.cSubash Patel (2):
drm/exynos: return NULL ifexynos_pages_to_sgfails drm/exynos: check for null in return value of
dma_buf_map_attachment()
Quoted 6 lines
Quoted 4 lines
drivers/gpu/drm/exynos/exynos_drm_connector.c | 3 +- drivers/gpu/drm/exynos/exynos_drm_core.c | 5 -- drivers/gpu/drm/exynos/exynos_drm_dmabuf.c | 33 ++++++++++++---- drivers/gpu/drm/exynos/exynos_drm_fb.c | 47+++++++++++++++++++++-
Quoted 1 line
drivers/gpu/drm/exynos/exynos_drm_fimd.c | 40
++++---------------
Quoted 1 line
Quoted 1 line
drivers/gpu/drm/exynos/exynos_drm_gem.c | 51
+++++++++++----------
Quoted 3 lines
---
Quoted 2 lines
drivers/gpu/drm/exynos/exynos_drm_gem.h | 6 ++- drivers/gpu/drm/exynos/exynos_drm_vidi.c | 53
+++++++++++++++++++-
Quoted 3 lines
-----
Quoted 2 lines
drivers/gpu/drm/exynos/exynos_hdmi.c | 36 +++------------- drivers/gpu/drm/exynos/exynos_mixer.c | 48
+++++++--------------
Quoted 10 lines
--
Quoted 9 lines
10 files changed, 170 insertions(+), 152 deletions(-)--
1.7.4.1_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel