[RFC] Clean up check for already prepared panel

2023-10-23 Thread Yuran Pereira
Since the core function drm_panel_prepare already checks if the panel is prepared, we can remove this duplicate check from tm5p5_nt35596_prepare which acts as a no-op. As suggested in the GPU TODO [1] [1] https://docs.kernel.org/gpu/todo.html#clean-up-checks-for-already-prepared-enabled-in-panels

Re: [RFC] Clean up check for already prepared panel

2023-10-23 Thread neil . armstrong
Hi, On 23/10/2023 16:51, Yuran Pereira wrote: Since the core function drm_panel_prepare already checks if the panel is prepared, we can remove this duplicate check from tm5p5_nt35596_prepare which acts as a no-op. As suggested in the GPU TODO [1] [1] https://docs.kernel.org/gpu/todo.html#clean