]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/exynos: Disable plane when released
authorInki Dae <inki.dae@samsung.com>
Fri, 24 Aug 2012 17:54:12 +0000 (10:54 -0700)
committerInki Dae <inki.dae@samsung.com>
Thu, 4 Oct 2012 01:06:00 +0000 (10:06 +0900)
commitbcf4cef94294992f7cd11d5a90fa58b0eae6c795
tree773fd6c9028c0dda8ed9dae689ff38c7a8958853
parent1b85a0715f4615f953733c4afa6ec59cd0e73b52
drm/exynos: Disable plane when released

this patch ensures that each plane connected to encoder is disabled
when released, by adding disable callback function of encoder helper

we had faced with one issue that invalid memory is accessed by dma
once drm is released and then the dma is turned on again. actually,
in our case, page fault was incurred with iommu. the reason is that
a gem buffer accessed by the dma is also released once drm is released.

so this patch would fix this issue ensuring the dma is disabled
when released.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_encoder.c