Closed digetx closed 6 years ago
I thought our hardware had the ability to scan out rotated buffers?
At least Tegra20 doesn't have that ability. Maybe we could accelerate "rotation" blits using gr2d?
Right. Section 31.2.3 ("Display Transformation") of the TRM says
The Display is responsible for incrementing (and/or) decrementing x-direction scanning, and incrementing (and/or) decrementing y-direction scanning. By itself, the Display is not capable of doing the line scanning in the y-direction, which is needed for 90-degree or 270-degree display rotation.
So yeah, GR2Ds G2SB_G2CONTROLMAIN_0 XYTDW-bit seems like our best option for hw acceleration here.
Fixes https://github.com/grate-driver/xf86-video-opentegra/issues/27