we are using a Colibri imx7d SoM together with a capacitive touch display. Display driver in Linux kernel is ST1633. I have the following display definition in the device tree. Display resolution is accordingly 480x272, which is equivalent to the hardware specification.
I would like to set the resolution in Linux to 480x270. However, neither changing the “vactive” nor the “vback-porch” settings seems to have any effect on the usable display dimensions in Linux.
I kept the “vidargs” kernel parameter empty, or set it according to the description here ( Display Output, Resolution and Timings (Linux) | Toradex Developer Center ), but cannot observe any effect either.
Would you have an advice how the display resolution can be configured?
Many thanks, Otmar
I would like to change the display resolution. Ideally, a 480x270 image would exactly fill the screen - no clipping, no scaling, no unoccupied lines.
I was hoping this is possible by changing the configuration in the device tree accordingly.
If I understood you correctly, you would like to change the display resolution to 480x270. And the current resolution is 480x272?!
But also, in your display tree you have set the resolution to 480x272.
I am not sure if I understand your question correctly.
the display supports a resolution of 480x272. I would like to change the resolution that is used by Linux to 480x270. To achieve that I modified the values in the devicetree. For instance, I set vactive = <270>; However, that appeared to have no effect - Linux still uses a resolution of 480x272. Likewise, i set vback-porch = <16>; assuming it would use 2 more lines as black bar at the bottom of the screen. But again, Linux uses 480x272 pixels.
So my question is: how can I configure the display resolution for Linux?
it turned out that when I set vactive to the desired value and at the same time modify vfront-porch and vback-porch accordingly, the display uses the resolution as defined in the device tree.
Thank you for your time looking into this, and please consider the issue resolved.