We are using the DT024DTFT interfacing with Linux for some of our products. We use it via the Parallel "RGB interface" and in landscape mode (rotated 90/270 degrees). To do the rotation, we set B5=1 in the MADCTL register of the ILI9341 and set the correct values for Column/Page addresses, among other timing configurations (as stated in the ILI9341 datasheet).

We have seen that when sending 320x240 in the RGB interface, the driver is skipping to update the last third of the H pixels, as seen in the picture:

When we send a 320x320 resolution, then the last third is updated (as if the rotation expects a perfect square in RGB interface mode), but a small portion of bad pixels appear in the bottom right corner:

A zoom to the bottom right corner:

We wonder if you have some recommendations to solve the issues we have seen with the rotation, or if you have a configuration example that uses the "RGB interface" with rotation.

Using the display in normal Portrait mode (240x320) works perfect, so one option we have is to do the rotation via software, but we really wanted to use the hardware rotation of the ILI9341 controller.