Re: [PATCH 58/65] OMAPDSS: APPLY: add wait_pending_extra_info_updates()

2011-12-07 Thread Archit Taneja
On Tuesday 22 November 2011 02:51 PM, Tomi Valkeinen wrote: Add wait_pending_extra_info_updates() function which can be used to wait until any extra_info changes have been taken into use by the hardware. This can be only called when holding the apply mutex, so that other threads cannot insert

Re: [PATCH 58/65] OMAPDSS: APPLY: add wait_pending_extra_info_updates()

2011-12-07 Thread Tomi Valkeinen
On Wed, 2011-12-07 at 18:37 +0530, Archit Taneja wrote: On Tuesday 22 November 2011 02:51 PM, Tomi Valkeinen wrote: +/* wait until no extra_info updates are pending */ +static void wait_pending_extra_info_updates(void) +{ + bool updating; + unsigned long flags; + unsigned long

[PATCH 58/65] OMAPDSS: APPLY: add wait_pending_extra_info_updates()

2011-11-22 Thread Tomi Valkeinen
Add wait_pending_extra_info_updates() function which can be used to wait until any extra_info changes have been taken into use by the hardware. This can be only called when holding the apply mutex, so that other threads cannot insert new extra_info changes. This will be used to handle