[Mesa-dev] [PATCH v5 00/10] new series of Mesa for Tizen

Eric Anholt eric at anholt.net
Wed Nov 15 18:51:37 UTC 2017


"Mun, Gwan-gyeong" <elongbug at gmail.com> writes:

> Hi all,
>
> I am sorry that I didn't have enough discussion about why new window
> system code is needed for Tizen on mesa.
>
> This is a brief architecture of Tizen Window System.
>
>   +--------------------------------------------------------------------------------------------------+
>   |                                 [Tizen Window System Architecture]
>                               |
>   |
>                               |
>   |
>                               |
>   |
>                               |
>   |                  +-----------------------+
> +------------+      +------------+  |
>   |                  | Enlightenment Display |                   |
>        |      |   3D UI    |  |
>   |                  |  Server for Tizen     +------------------>|
> EvasGL   |      |   Toolkit  |  |
>   |                  |                       |                   |
>        |      |            |  |
>   |                  |                       |
> +-----+------+      +-----+------+  |
>   |                  +--+-----------------+--+
> |                   |         |
>   |                     |                 |
> v                   |         |
>   |                     |                 |
> +------------+            |         |
>   |                     |                 |                      | GPU
> Vendor |            |         |
>   |                     |                 |                      |
> GL/EGL    |<-----------+         |
>   |                     |                 |                      |
> Driver    |                      |
>   |                     |                 |
> +-----+------+                      |
>   |                     |                 |
> |                             |
>   |                     v                 v
> v                             |
>   |   +-----------------------+    +----------------------+
> +------------+                      |
>   |   |         TDM           |    |        TBM           |      |
>        |                      |
>   |   |(Tizen Display Manager)+--->|(Tizen Buffer Manager)|<-----|
> TPL-EGL  |                      |
>   |   |                       |    |                      |      |
>        |                      |
>   |   +-----------------------+    +----------------------+
> +------------+                      |
>   |
>                               |
>   +--------------------------------------------------------------------------------------------------+
>
>
>
>                                 < display server / wayland-egl client >
>
>     +-----------------------------+
> +-------------------------------+
>     |                             |                               |
>                            |
>     |  +-----------------------+  |                               |
> +-----------------------+   |
>     |  | Enlightenment Display +-------+                          |
> |  wayland-egl client   |   |
>     |  |  Server for Tizen     |  |    |                          |
> +--+-------------+------+   |
>     |  +----------+------------+  |    |                          |
>   |             |          |
>     |             |               |    |                          |
>   |             |          |
>     |             v               |    |                          |
>   |             |          |
>     |  +-----------------------+  |    |                          |
>   |             |          |
>     |  |     EVAS GL TBM       |  |    |                          |
>   |             |          |
>     |  +----+-------------+----+  |    |                          |
>   |             |          |
>     |       |             |       |    |                          |
>   |             |          |
>     |       |             v       |    |                          |
>   v             v          |
>     |       |        +---------+  |    |    +--------------+      |
> +-----+   +-------------+   |
>     |       |        |   EGL   +-------|--->|  GPU Vendor
> |<---------+ EGL |   | wayland-egl |   |
>     |       |        +----+----+  |    |    |  GL Driver   |      |
> +--+--+   +---+---------+   |
>     |       |             |       |    |    +--------------+      |
>   |          |      ^      |
>     |       v             v       |    |                          |
>   v          v      |      |
>     |  +---------+   +---------+  |    |    +--------------+      |
> +--------------------+--+   |
>     |  |   TBM   |<--+ TPL-EGL +-------|--->| wayland-tbm
> |<---------+        TPL-EGL        |   |
>     |  +---------+   +---------+  |    |    +--------------+      |
> +-----------------------+   |
>     |                             |    |            ^             |
>                            |
>     |                             |    |            |             |
>                            |
>     +-----------------------------+    +------------+
> +-------------------------------+
>
>
> * TBM:
>    - Tizen Buffer Manager (TBM) provides the abstraction interface for
> the graphic buffer manager
>      in Tizen. [1]
>
>    - Why does it needed?
>      Because different vendors provides different user-level interface
> for the memory manager,
>      Tizen made TBM for supporting a common interface. refer [3], page 6-8.

I've seen these presentations before, but the question is: Why haven't
you made them expose GBM, instead?  If they're unresponsive, why haven't
you just had GBM wrap their thing in your local code?

> * TDM:
>    - TDM stands for Tizen Display Manager. Tizen Display Manager (TDM)
> provides the display device
>      abstraction interface for the display server to allow the direct
> access to graphics hardware
>      in a safe and efficient manner as a display HAL. The primary goal
> of TDM is the unification
>      of display hardware management procedures in user space. [2]
>
>    - Why does it needed?
>      Because different vendors provides different user-level interface
> for the display devices,
>      Tizen made TDM for supporting a common interface. refer [3], page 15-16.

I don't think we want to be supporting non-KMS userspace display
interfaces on Linux.  What vendor fails to do so?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171115/4de75397/attachment-0001.sig>


More information about the mesa-dev mailing list