[PATCH v3 00/17] Enhance iomem search interfaces and support EINJ to NVDIMM

2016-01-05 Thread Toshi Kani
This patch-set enhances the iomem table and its search interfacs, and then changes EINJ to support NVDIMM. - Patches 1-2 add a new System RAM type, IORESOURCE_SYSTEM_RAM, and make the iomem search interfaces work with resource flags with modifier bits set. IORESOURCE_SYSTEM_RAM has IORESOU

[PATCH v3 11/17] arm/samsung: Change s3c_pm_run_res() to use System RAM type

2016-01-05 Thread Toshi Kani
Change s3c_pm_run_res() to check with IORESOURCE_SYSTEM_RAM, instead of strcmp() with "System RAM", to walk through System RAM ranges in the iomem table. No functional change is made to the interface. Cc: linux-samsung-soc@vger.kernel.org Reviewed-by: Krzysztof Kozlowski Signed-off-by: Toshi Kan

[PATCH 0/4] drm/exynos: introduce generic zpos property

2016-01-05 Thread Marek Szyprowski
Hello all, This patch series is a continuation of rework of blending support in Exynos DRM driver. Some background can be found here: http://www.spinics.net/lists/dri-devel/msg96969.html Daniel Vetter suggested that zpos property should be made generic, with well-defined semantics. This patchset

[PATCH 3/4] drm/exynos: mixer: properly update all planes on the same vblank event

2016-01-05 Thread Marek Szyprowski
This patch also moves mixer_vsync_set_update() to newly introduced mixer_atomic_begin/flush callbacks. This ensures that all mixer planes will be updated on the same vsync event. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos_mixer.c | 34 +- 1

[PATCH 4/4] drm/exynos: use generic code for managing zpos plane property

2016-01-05 Thread Marek Szyprowski
This patch replaces zpos property handling custom code in Exynos DRM driver with calls to generic DRM code. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos_drm_drv.h | 1 - drivers/gpu/drm/exynos/exynos_drm_plane.c | 68 --- drivers/gpu/drm/exynos

[PATCH 1/4] drm: add support for generic zpos property

2016-01-05 Thread Marek Szyprowski
This patch adds support for generic plane's zpos property property with well-defined semantics: - added zpos properties to drm core and plane state structures - added helpers for normalizing zpos properties of given set of planes - well defined semantics: planes are sorted by zpos values and then p

[PATCH 2/4] drm/exynos: crtc: rework atomic_{begin,flush}

2016-01-05 Thread Marek Szyprowski
Some CRTC drivers (like Exynos DRM Mixer) can handle blocking register updates only on per-device level, not per-plane level. This patch changes exynos_crts atomic_begin/atomic_flush callbacks to handle the entire crtc, instead of given planes, so driver can handle both cases on their own. Signed-

Re: [PATCH] drm/exynos: fix kernel panic issue at drm releasing

2016-01-05 Thread Inki Dae
+ Rob Clark, Hi Daniel and Rob, 2016년 01월 05일 20:08에 Daniel Vetter 이(가) 쓴 글: > On Tue, Jan 05, 2016 at 07:55:52PM +0900, Inki Dae wrote: >> Hi Daniel, >> >> 2016년 01월 05일 05:24에 Daniel Stone 이(가) 쓴 글: >>> Hi Inki, >>> >>> On 4 January 2016 at 12:57, Inki Dae wrote: 2015년 12월 24일 22:32에 Dani

Re: [PATCH] drm/exynos: fix kernel panic issue at drm releasing

2016-01-05 Thread Daniel Vetter
On Tue, Jan 05, 2016 at 07:55:52PM +0900, Inki Dae wrote: > Hi Daniel, > > 2016년 01월 05일 05:24에 Daniel Stone 이(가) 쓴 글: > > Hi Inki, > > > > On 4 January 2016 at 12:57, Inki Dae wrote: > >> 2015년 12월 24일 22:32에 Daniel Stone 이(가) 쓴 글: > >>> On 24 December 2015 at 09:10, Inki Dae wrote: > +vo

Re: [PATCH] drm/exynos: fix kernel panic issue at drm releasing

2016-01-05 Thread Inki Dae
Hi Daniel, 2016년 01월 05일 05:24에 Daniel Stone 이(가) 쓴 글: > Hi Inki, > > On 4 January 2016 at 12:57, Inki Dae wrote: >> 2015년 12월 24일 22:32에 Daniel Stone 이(가) 쓴 글: >>> On 24 December 2015 at 09:10, Inki Dae wrote: +void exynos_drm_crtc_cancel_page_flip(struct drm_crtc *crtc) +{ +

[PATCH v2] drm/exynos: fix kernel panic issue at drm releasing

2016-01-05 Thread Inki Dae
This patch fixes a kernel panic issue which happened when drm driver is closed while modetest. This issue could be reproduced easily by launching modetest with page flip repeatedly. The reason is that invalid drm_file object could be accessed by send_vblank_event function when finishing page flip