STMP157 Change LCD clock frequency or refresh rate

Started by yugandharbabu, May 03, 2023, 06:54:55 AM

Previous topic - Next topic

yugandharbabu

Hi,

I am using STMP157-OLinuXino-LIME2 board with LCD-OLinuXino-7CTS. I am writing to the LCD using OpenGL and DRM. I found that the LCD refresh rate is little low and need to increase it. How to achieve it?

Is it possible by changing any configuration file(s) in Linux OS or need to recompile the Linux source by changing configuration files? If yes, which file(s) need to be changed and what is the maximum supported refresh rate for STMP157 board?


Please help me to increase the LCD refresh rate. Thank you.

LubOlimex

You need to rebuild the image, clocks are located in this file:

https://github.com/OLIMEX/linux-olimex/blob/c5a31724bdfaac894553b51c5a0fb92c1f10f3db/drivers/gpu/drm/panel/panel-simple.c

Search for "olimex" around line 3000; you can see clock settings for different resolutions.
Technical support and documentation manager at Olimex