Re: [PATCH 05/32] OMAPDSS: fix dss_get_ctx_loss_count for DT

2013-05-31 Thread Grygorii Strashko
On 05/30/2013 07:36 PM, Kevin Hilman wrote: Tomi Valkeinen tomi.valkei...@ti.com writes: When using DT, dss device does not have platform data. However, dss_get_ctx_loss_count() uses dss device's platform data to find the get_ctx_loss_count function pointer. To fix this,

Re: [PATCH 05/32] OMAPDSS: fix dss_get_ctx_loss_count for DT

2013-05-31 Thread Kevin Hilman
Hi Grygorii, Grygorii Strashko grygorii.stras...@ti.com writes: [...] I've a question: Why don't add API in Kernel/Base PM framework for context lost detection? Like pm_was_ctx_lost(). I'm not aware of any proposals to do this in a generic way. Feel free to propose one if you're so moved.

Re: [PATCH 05/32] OMAPDSS: fix dss_get_ctx_loss_count for DT

2013-05-30 Thread Tomi Valkeinen
On 30/05/13 14:09, Jean-Christophe PLAGNIOL-VILLARD wrote: On 12:34 Thu 30 May , Tomi Valkeinen wrote: When using DT, dss device does not have platform data. However, dss_get_ctx_loss_count() uses dss device's platform data to find the get_ctx_loss_count function pointer. To fix this,

Re: [PATCH 05/32] OMAPDSS: fix dss_get_ctx_loss_count for DT

2013-05-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:34 Thu 30 May , Tomi Valkeinen wrote: When using DT, dss device does not have platform data. However, dss_get_ctx_loss_count() uses dss device's platform data to find the get_ctx_loss_count function pointer. To fix this, dss_get_ctx_loss_count() needs to be changed to get the

Re: [PATCH 05/32] OMAPDSS: fix dss_get_ctx_loss_count for DT

2013-05-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:28 Thu 30 May , Tomi Valkeinen wrote: On 30/05/13 14:09, Jean-Christophe PLAGNIOL-VILLARD wrote: On 12:34 Thu 30 May , Tomi Valkeinen wrote: When using DT, dss device does not have platform data. However, dss_get_ctx_loss_count() uses dss device's platform data to find the

Re: [PATCH 05/32] OMAPDSS: fix dss_get_ctx_loss_count for DT

2013-05-30 Thread Tomi Valkeinen
On 30/05/13 18:43, Jean-Christophe PLAGNIOL-VILLARD wrote: On 14:28 Thu 30 May , Tomi Valkeinen wrote: On 30/05/13 14:09, Jean-Christophe PLAGNIOL-VILLARD wrote: On 12:34 Thu 30 May , Tomi Valkeinen wrote: When using DT, dss device does not have platform data. However,

Re: [PATCH 05/32] OMAPDSS: fix dss_get_ctx_loss_count for DT

2013-05-30 Thread Kevin Hilman
Tomi Valkeinen tomi.valkei...@ti.com writes: When using DT, dss device does not have platform data. However, dss_get_ctx_loss_count() uses dss device's platform data to find the get_ctx_loss_count function pointer. To fix this, dss_get_ctx_loss_count() needs to be changed to get the

Re: [PATCH 05/32] OMAPDSS: fix dss_get_ctx_loss_count for DT

2013-05-30 Thread Tomi Valkeinen
On 30/05/13 19:36, Kevin Hilman wrote: Tomi Valkeinen tomi.valkei...@ti.com writes: When using DT, dss device does not have platform data. However, dss_get_ctx_loss_count() uses dss device's platform data to find the get_ctx_loss_count function pointer. To fix this,