Op 05-12-16 om 15:13 schreef [email protected]:
> From: Ville Syrjälä <[email protected]>
>
> Each DSPARB register can house bits for two separate pipes, hence
> we must protect the registers during reprogramming so that parallel
> FIFO reconfigurations happening simultaneosly on multiple pipes won't
> corrupt each others values.
>
> We'll use a new spinlock for this instead of the wm_mutex since we'll
> have to move the DSPARB programming to happen from the vblank evade
> critical section, and we can't use mutexes in there.
>
> v2: Document why we use a spinlock instead of a mutex (Maarten)
>
> Cc: Maarten Lankhorst <[email protected]>
> Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Maarten Lankhorst <[email protected]>
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to