[PATCH 03/18] drm/tidss: Add mode_fixup to adjust the clock based on HW

2025-04-05 Thread Tomi Valkeinen
At the moment the driver just sets the clock rate with clk_set_rate(), and if the resulting rate is not the same as requested, prints a debug print, but nothing else. Add mode_fixup(), in which the clk_round_rate() is used to get the "rounded" rate, and set that to the adjusted_mode. In practice,

Re: [PATCH 03/18] drm/tidss: Add mode_fixup to adjust the clock based on HW

2025-04-02 Thread Tomi Valkeinen
Hi, On 21/03/2025 16:17, Maxime Ripard wrote: On Thu, Mar 20, 2025 at 05:59:58PM +0200, Tomi Valkeinen wrote: At the moment the driver just sets the clock rate with clk_set_rate(), and if the resulting rate is not the same as requested, prints a debug print, but nothing else. Add mode_fixup(),

Re: [PATCH 03/18] drm/tidss: Add mode_fixup to adjust the clock based on HW

2025-03-21 Thread Maxime Ripard
On Thu, Mar 20, 2025 at 05:59:58PM +0200, Tomi Valkeinen wrote: > At the moment the driver just sets the clock rate with clk_set_rate(), > and if the resulting rate is not the same as requested, prints a debug > print, but nothing else. > > Add mode_fixup(), in which the clk_round_rate() is used t