linux-dmabuf: fix references to tranche_formats

Signed-off-by: Manuel Stoeckl <code@mstoeckl.com>
This commit is contained in:
Manuel Stoeckl 2022-11-02 19:01:44 -04:00 committed by Jonas Ådahl
parent 6d068c1708
commit 4f18a5baee

View file

@ -413,16 +413,16 @@
configuration. In particular, compositors should avoid sending the exact configuration. In particular, compositors should avoid sending the exact
same parameters multiple times in a row. same parameters multiple times in a row.
The tranche_target_device and tranche_modifier events are grouped by The tranche_target_device and tranche_formats events are grouped by
tranches of preference. For each tranche, a tranche_target_device, one tranches of preference. For each tranche, a tranche_target_device, one
tranche_flags and one or more tranche_modifier events are sent, followed tranche_flags and one or more tranche_formats events are sent, followed
by a tranche_done event finishing the list. The tranches are sent in by a tranche_done event finishing the list. The tranches are sent in
descending order of preference. All formats and modifiers in the same descending order of preference. All formats and modifiers in the same
tranche have the same preference. tranche have the same preference.
To send parameters, the compositor sends one main_device event, tranches To send parameters, the compositor sends one main_device event, tranches
(each consisting of one tranche_target_device event, one tranche_flags (each consisting of one tranche_target_device event, one tranche_flags
event, tranche_modifier events and then a tranche_done event), then one event, tranche_formats events and then a tranche_done event), then one
done event. done event.
</description> </description>
@ -495,9 +495,9 @@
<event name="tranche_done"> <event name="tranche_done">
<description summary="a preference tranche has been sent"> <description summary="a preference tranche has been sent">
This event splits tranche_target_device and tranche_modifier events in This event splits tranche_target_device and tranche_formats events in
preference tranches. It is sent after a set of tranche_target_device preference tranches. It is sent after a set of tranche_target_device
and tranche_modifier events; it represents the end of a tranche. The and tranche_formats events; it represents the end of a tranche. The
next tranche will have a lower preference. next tranche will have a lower preference.
</description> </description>
</event> </event>