Re: [PATCH 7/7] drm/exynos: clear windows in fimd dpms off

2012-12-12 Thread Stéphane Marchesin
On Thu, Dec 6, 2012 at 6:46 AM, Prathyush K wrote: > When fimd is turned off, we disable the clocks which will stop > the dma. Now if we remove the current framebuffer, we cannot > disable the overlay but the current framebuffer will still be freed. > When fimd resumes, the dma will continue from

[PATCH 7/7] drm/exynos: clear windows in fimd dpms off

2012-12-12 Thread Stéphane Marchesin
On Thu, Dec 6, 2012 at 6:46 AM, Prathyush K wrote: > When fimd is turned off, we disable the clocks which will stop > the dma. Now if we remove the current framebuffer, we cannot > disable the overlay but the current framebuffer will still be freed. > When fimd resumes, the dma will continue from

[PATCH 7/7] drm/exynos: clear windows in fimd dpms off

2012-12-07 Thread Inki Dae
2012/12/7 Prathyush K > > > > On Fri, Dec 7, 2012 at 1:04 PM, Prathyush K wrote: > >> >> >> >> On Fri, Dec 7, 2012 at 10:37 AM, Inki Dae wrote: >> >>> >>> >>> 2012/12/6 Prathyush K >>> When fimd is turned off, we disable the clocks which will stop the dma. Now if we remove the current

[PATCH 7/7] drm/exynos: clear windows in fimd dpms off

2012-12-07 Thread Inki Dae
2012/12/6 Prathyush K > When fimd is turned off, we disable the clocks which will stop > the dma. Now if we remove the current framebuffer, we cannot > disable the overlay but the current framebuffer will still be freed. > I think that if fimd was turned off by dpms operation (off only clock and

[PATCH 7/7] drm/exynos: clear windows in fimd dpms off

2012-12-07 Thread Inki Dae
2012/12/6 Prathyush K > When fimd is turned off, we disable the clocks which will stop > the dma. Now if we remove the current framebuffer, we cannot > disable the overlay but the current framebuffer will still be freed. > When fimd resumes, the dma will continue from where it left off > and will

[PATCH 7/7] drm/exynos: clear windows in fimd dpms off

2012-12-07 Thread Prathyush K
On Fri, Dec 7, 2012 at 1:04 PM, Prathyush K wrote: > > > > On Fri, Dec 7, 2012 at 10:37 AM, Inki Dae wrote: > >> >> >> 2012/12/6 Prathyush K >> >>> When fimd is turned off, we disable the clocks which will stop >>> the dma. Now if we remove the current framebuffer, we cannot >>> disable the ove

[PATCH 7/7] drm/exynos: clear windows in fimd dpms off

2012-12-07 Thread Prathyush K
On Fri, Dec 7, 2012 at 10:37 AM, Inki Dae wrote: > > > 2012/12/6 Prathyush K > >> When fimd is turned off, we disable the clocks which will stop >> the dma. Now if we remove the current framebuffer, we cannot >> disable the overlay but the current framebuffer will still be freed. >> > > I think

Re: [PATCH 7/7] drm/exynos: clear windows in fimd dpms off

2012-12-07 Thread Inki Dae
2012/12/7 Prathyush K > > > > On Fri, Dec 7, 2012 at 1:04 PM, Prathyush K wrote: > >> >> >> >> On Fri, Dec 7, 2012 at 10:37 AM, Inki Dae wrote: >> >>> >>> >>> 2012/12/6 Prathyush K >>> When fimd is turned off, we disable the clocks which will stop the dma. Now if we remove the current

Re: [PATCH 7/7] drm/exynos: clear windows in fimd dpms off

2012-12-06 Thread Prathyush K
On Fri, Dec 7, 2012 at 1:04 PM, Prathyush K wrote: > > > > On Fri, Dec 7, 2012 at 10:37 AM, Inki Dae wrote: > >> >> >> 2012/12/6 Prathyush K >> >>> When fimd is turned off, we disable the clocks which will stop >>> the dma. Now if we remove the current framebuffer, we cannot >>> disable the ove

Re: [PATCH 7/7] drm/exynos: clear windows in fimd dpms off

2012-12-06 Thread Prathyush K
On Fri, Dec 7, 2012 at 10:37 AM, Inki Dae wrote: > > > 2012/12/6 Prathyush K > >> When fimd is turned off, we disable the clocks which will stop >> the dma. Now if we remove the current framebuffer, we cannot >> disable the overlay but the current framebuffer will still be freed. >> > > I think

Re: [PATCH 7/7] drm/exynos: clear windows in fimd dpms off

2012-12-06 Thread Inki Dae
2012/12/6 Prathyush K > When fimd is turned off, we disable the clocks which will stop > the dma. Now if we remove the current framebuffer, we cannot > disable the overlay but the current framebuffer will still be freed. > I think that if fimd was turned off by dpms operation (off only clock and

Re: [PATCH 7/7] drm/exynos: clear windows in fimd dpms off

2012-12-06 Thread Inki Dae
2012/12/6 Prathyush K > When fimd is turned off, we disable the clocks which will stop > the dma. Now if we remove the current framebuffer, we cannot > disable the overlay but the current framebuffer will still be freed. > When fimd resumes, the dma will continue from where it left off > and will

[PATCH 7/7] drm/exynos: clear windows in fimd dpms off

2012-12-06 Thread Prathyush K
When fimd is turned off, we disable the clocks which will stop the dma. Now if we remove the current framebuffer, we cannot disable the overlay but the current framebuffer will still be freed. When fimd resumes, the dma will continue from where it left off and will throw a PAGE FAULT since the memo

[PATCH 7/7] drm/exynos: clear windows in fimd dpms off

2012-12-06 Thread Prathyush K
When fimd is turned off, we disable the clocks which will stop the dma. Now if we remove the current framebuffer, we cannot disable the overlay but the current framebuffer will still be freed. When fimd resumes, the dma will continue from where it left off and will throw a PAGE FAULT since the memo