<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Chris,</tt><tt><br>
</tt><tt><br>
</tt><tt>This looks like a hw specific value which is difficult to
understand. However, the definition of these </tt><tt>values are
just a list of available options of z-order. On Intel VLV, there
is only 6 options for the three planes Primary, Sprite A and
Sprite B. Cursor is always on top. For example, "P1S1S2C1" means
z-order (from bottom to top) of Primary -> Sprite A ->
Sprite B -> Cursor.<br>
<br>
#define P1S1S2C1 0<br>
#define P1S2S1C1 8<br>
#define S2P1S1C1 1<br>
#define S2S1P1C1 9<br>
#define S1P1S2C1 4<br>
#define S1S2P1C1 6<br>
<br>
In theory, if hw supports, each CRTC may have their own plane
z-order if user intentionally wants that happens. The pipe info (0
or 1) is packed into z-order value with extra bit (bit 31).<br>
<br>
Thanks,<br>
Alex</tt><br>
<br>
On 14-03-04 12:20 AM, Chris Wilson wrote:<br>
<span style="white-space: pre;">> On Mon, Mar 03, 2014 at
02:12:28PM -0800, <a class="moz-txt-link-abbreviated" href="mailto:yu.dai@intel.com">yu.dai@intel.com</a> wrote:<br>
>> From: "Yu(Alex) Dai" <a class="moz-txt-link-rfc2396E" href="mailto:yu.dai@intel.com"><yu.dai@intel.com></a><br>
>> <br>
>> Add "zorder" property to crtc to control Z-order of
sprite and <br>
>> primary planes. The alpha channel of the planes can be
enabled or<br>
>> disabled during Z-order change.<br>
> <br>
> Can I just say that is an abonimal user interface. You expect
the<br>
> client to encode a hw specific value into a CRTC property
that<br>
> affects global state. and given the two properties on the two
CRTCs,<br>
> which should userspace believe? -Chris<br>
> </span><br>
<br>
<br>
</body>
</html>