On 25/08/16 13:26, Matthijs van Duin wrote:
On 25 August 2016 at 09:26, Tomi Valkeinen tomi.valkeinen@ti.com wrote:
Yes. So it doesn't list the mode even before the display blanks?
Before the display blanks everything looks normal, at least reasonably I think:
On 25 August 2016 at 09:04, Tomi Valkeinen tomi.valkeinen@ti.com wrote:
Btw, have you only used XRGB8888 format when testing rotation?
ARGB8888 actually, but yes.
I'm not able to get any of the YUV formats to work with rotation. And I don't know if those have ever worked. And I don't even know exactly what configuration is needed to get them working (tiler block size? stride sizes? etc).
I think yuyv and the chroma plane of nv12 are 16-bit while the luma plane of nv12 is 8-bit, but I'm not 100% sure of this.
I guess the same for NV12, but YUYV... You need the whole 32bit macropixel to figure out the resulting color. In any case, I did try all the combinations that came to my mind, but I couldn't get them to work.
Oh, and as a clarification: it looked to me that the luma rotation was ok, but chroma was not, for both NV12 and YUYV. But I'm not 100% sure about that.
The rotation also needs to be correctly written in some DSS register iirc. Other details may apply, I haven't fully dug into it and must admit some bits seemed slightly vague to me.
Yes, "vague" expresses my thoughts too =).
Well, anyway, just so everyone is aware: TILER rotation only seems to work correctly for RGB.
Tomi