]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/panel: visionox-vtdr6130: switch to mipi_dsi wrapped functions
authorNeil Armstrong <neil.armstrong@linaro.org>
Wed, 28 Aug 2024 16:03:39 +0000 (18:03 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 29 Aug 2024 11:00:36 +0000 (13:00 +0200)
commit175d648be98bae22eb22444377dd9a0c497c9d46
treea1c355ac3e55fcbda81d7f22f255636a2c7834af
parentb71ccff68ef1a5bd1c02d0fca01ddb3d9088329a
drm/panel: visionox-vtdr6130: switch to mipi_dsi wrapped functions

Make usage of the new _multi() mipi_dsi functions instead of the
deprecated macros, improving error handling and printing.

bloat-o-meter gives a 12% gain on arm64:
Function                                     old     new   delta
visionox_vtdr6130_unprepare                  208     204      -4
visionox_vtdr6130_prepare                   1192     896    -296
Total: Before=2348, After=2048, chg -12.78%

Reviewed-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20240828-topic-sm8x50-upstream-vtdr6130-multi-v1-1-0cae20d4c55d@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240828-topic-sm8x50-upstream-vtdr6130-multi-v1-1-0cae20d4c55d@linaro.org
drivers/gpu/drm/panel/panel-visionox-vtdr6130.c