/* * Write the current syncpoint value back to hw.
*/ staticvoid syncpt_restore(struct host1x_syncpt *sp)
{
u32 min = host1x_syncpt_read_min(sp); struct host1x *host = sp->host;
/* * Write the current waitbase value back to hw.
*/ staticvoid syncpt_restore_wait_base(struct host1x_syncpt *sp)
{ #if HOST1X_HW < 7 struct host1x *host = sp->host;
/* * Updates the last value read from hardware.
*/ static u32 syncpt_load(struct host1x_syncpt *sp)
{ struct host1x *host = sp->host;
u32 old, live;
/* Loop in case there's a race writing to min_val */ do {
old = host1x_syncpt_read_min(sp);
live = host1x_sync_readl(host, HOST1X_SYNC_SYNCPT(sp->id));
} while ((u32)atomic_cmpxchg(&sp->min_val, old, live) != old);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.