Cristian Ciocaltea
e271ecaaa5
drm/tests: hdmi: Add max TMDS rate fallback tests for YUV420 mode
...
Provide tests to verify drm_atomic_helper_connector_hdmi_check() helper
fallback behavior when using YUV420 output format.
Acked-by: Maxime Ripard <mripard@kernel.org >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-18-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:39 +02:00
Cristian Ciocaltea
54a5f1c4d5
drm/tests: hdmi: Provide EDID supporting 4K@30Hz with RGB/YUV
...
Create a test EDID advertising the following capabilities:
Max resolution: 3840x2160@30Hz with RGB, YUV444, YUV422, YUV420
Max BPC: 16 for all modes
Max TMDS clock: 340 MHz
Acked-by: Maxime Ripard <mripard@kernel.org >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-17-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:38 +02:00
Cristian Ciocaltea
a3d1bfc174
drm/tests: hdmi: Rename max TMDS rate fallback tests
...
In preparation to extend the max TMDS rate fallback tests for covering
YUV420 output, update the rather generic function names
drm_test_check_max_tmds_rate_{bpc|format}_fallback() to properly
indicate the intended test cases.
Acked-by: Maxime Ripard <mripard@kernel.org >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-16-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:38 +02:00
Cristian Ciocaltea
8138078dc0
drm/tests: hdmi: Add limited range tests for YUV420 mode
...
Provide tests to verify that drm_atomic_helper_connector_hdmi_check()
helper behaviour when using YUV420 output format is to always set the
limited RGB quantization range to 'limited', no matter what the value of
Broadcast RGB property is.
Acked-by: Maxime Ripard <mripard@kernel.org >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-15-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:37 +02:00
Cristian Ciocaltea
58fe1d7860
drm/tests: hdmi: Provide EDID supporting 4K@30Hz with YUV420 only
...
Create a test EDID advertising the following capabilities:
Max resolution:
- 1920x1080@60Hz with RGB, YUV444, YUV422
- 3840x2160@30Hz with YUV420 only
Max BPC: 16 for all modes
Max TMDS clock: 200 MHz
Acked-by: Maxime Ripard <mripard@kernel.org >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-14-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:37 +02:00
Cristian Ciocaltea
723d5a70d1
drm/tests: hdmi: Switch to drm_atomic_get_new_connector_state() where possible
...
Replace the calls to drm_atomic_get_connector_state() with
drm_atomic_get_new_connector_state() for cases which do not require
allocating the connector state, e.g. after drm_atomic_check_only() when
the intent is to only read the new connector state.
The rational is to avoid the need to handle the potential EDEADLK error
returned by the former helper, which would require restarting the entire
atomic sequence.
Acked-by: Maxime Ripard <mripard@kernel.org >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-13-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:36 +02:00
Cristian Ciocaltea
8deb5bd348
drm/tests: hdmi: Setup ycbcr_420_allowed before initializing connector
...
Initializing HDMI connector via drmm_connector_hdmi_init() requires its
->ycbcr_420_allowed flag to be adjusted according to the supported
formats passed as function argument, prior to the actual invocation.
In order to allow providing test coverage for YUV420 modes, ensure the
flag is properly setup.
Reviewed-by: Maxime Ripard <mripard@kernel.org >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-12-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:36 +02:00
Cristian Ciocaltea
95f0f68fc1
drm/tests: hdmi: Drop unused drm_kunit_helper_connector_hdmi_init_funcs()
...
After updating the code to make use of the new EDID setup helper,
drm_kunit_helper_connector_hdmi_init_funcs() became unused, hence drop
it.
Acked-by: Maxime Ripard <mripard@kernel.org >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-11-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:35 +02:00
Cristian Ciocaltea
74e98941b9
drm/tests: hdmi: Replace open coded EDID setup
...
Make use of the recently introduced macros to reduce boilerplate code
around EDID setup. This also helps dropping the redundant calls to
set_connector_edid().
No functional changes intended.
Acked-by: Maxime Ripard <mripard@kernel.org >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-10-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:35 +02:00
Cristian Ciocaltea
a08fd207d6
drm/tests: hdmi: Add macro to simplify EDID setup
...
Factor out the HDMI connector initialization from
drm_kunit_helper_connector_hdmi_init_funcs() into a common
__connector_hdmi_init() function, while extending its functionality to
allow setting custom (i.e. non-default) EDID data.
Introduce a macro as a wrapper over the new helper to allow dropping the
open coded EDID setup from all test cases.
The actual conversion will be handled separately; for now just apply it
to drm_kunit_helper_connector_hdmi_init() helper.
Reviewed-by: Maxime Ripard <mripard@kernel.org >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-9-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:34 +02:00
Cristian Ciocaltea
7ca78aa0d5
drm/tests: hdmi: Switch to 'void *' type for EDID data
...
Replace 'const char *' with 'const void *' type for current_edid member
in struct drm_atomic_helper_connector_hdmi_priv, as well as for the edid
parameter of set_connector_edid() function.
Suggested-by: Jani Nikula <jani.nikula@linux.intel.com >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Reviewed-by: Maxime Ripard <mripard@kernel.org >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-8-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:34 +02:00
Cristian Ciocaltea
90642d9de4
drm/tests: hdmi: Replace '[_]MHz' with 'mhz'
...
Improve consistency throughout drm_hdmi_state_helper_test.c by replacing
the two occurrences of '[_]MHz' substring with 'mhz'.
As a bonus, this also helps getting rid of checkpatch.pl complaint:
CHECK: Avoid CamelCase: <reject_100_MHz_connector_hdmi_funcs>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Reviewed-by: Maxime Ripard <mripard@kernel.org >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-7-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:33 +02:00
Cristian Ciocaltea
04561845fc
drm/connector: hdmi: Use YUV420 output format as an RGB fallback
...
Try to make use of YUV420 when computing the best output format and
RGB cannot be supported for any of the available color depths.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Reviewed-by: Maxime Ripard <mripard@kernel.org >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-6-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:33 +02:00
Cristian Ciocaltea
4809299add
drm/connector: hdmi: Factor out bpc and format computation logic
...
In preparation to support fallback to an alternative output format, e.g.
YUV420, when RGB cannot be used for any of the available color depths,
move the bpc try loop out of hdmi_compute_config() and, instead, make it
part of hdmi_compute_format(), while adding a new parameter to the
latter holding the output format to be checked and eventually set.
Since this helper now also changes hdmi.output_bpc in addition to
hdmi.output_format, highlight the extended functionality by renaming it
to hdmi_compute_format_bpc().
This improves code reusability and further extensibility, without
introducing any functional changes.
Reviewed-by: Maxime Ripard <mripard@kernel.org >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-5-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:32 +02:00
Cristian Ciocaltea
b01ea9acde
drm/connector: hdmi: Add missing bpc debug info to hdmi_try_format_bpc()
...
The very first debug message in hdmi_try_format_bpc() is incomplete, as
it doesn't provide the given bpc in addition to the tried format.
Add the missing debug information and drop the now redundant message
from hdmi_compute_config().
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Reviewed-by: Maxime Ripard <mripard@kernel.org >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-4-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:32 +02:00
Cristian Ciocaltea
a191077792
drm/connector: hdmi: Improve debug message for supported format
...
Add the missing 'bpc' string to the debug message indicating the
supported format identified within hdmi_try_format_bpc() helper.
Reviewed-by: Maxime Ripard <mripard@kernel.org >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-3-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:31 +02:00
Cristian Ciocaltea
85b0db8741
drm/connector: hdmi: Add support for YUV420 format verification
...
Provide the necessary constraints verification in
sink_supports_format_bpc() in order to support handling of YUV420
output format.
Reviewed-by: Maxime Ripard <mripard@kernel.org >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-2-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:31 +02:00
Cristian Ciocaltea
21f6271396
drm/connector: hdmi: Evaluate limited range after computing format
...
Evaluating the requirement to use a limited RGB quantization range
involves a verification of the output format, among others, but this is
currently performed before actually computing the format, hence relying
on the old connector state.
Move the call to hdmi_is_limited_range() after hdmi_compute_config() to
ensure the verification is done on the updated output format.
Fixes: 027d435906 ("drm/connector: hdmi: Add RGB Quantization Range to the connector state")
Reviewed-by: Dmitry Baryshkov <lumag@kernel.org >
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com >
Acked-by: Maxime Ripard <mripard@kernel.org >
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-1-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 11:02:30 +02:00
Jernej Skrabec
54bd08e15b
drm: sun4i: de33: mixer: add mixer configuration for the H616
...
The H616 (and related SoC packages sharing the same die) carry the new
DE33 display engine.
Add the mixer configuration and a compatible string for the H616 to the
mixer.
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com >
Signed-off-by: Ryan Walklin <ryan@testtoast.com >
Acked-by: Maxime Ripard <mripard@kernel.org >
Reviewed-by: Chen-Yu Tsai <wens@csie.org >
Link: https://lore.kernel.org/r/20250528092431.28825-9-ryan@testtoast.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:59:10 +02:00
Jernej Skrabec
9e623068f1
drm: sun4i: de33: vi_scaler: add Display Engine 3.3 (DE33) support
...
The vi_scaler appears to be used in preference to the ui_scaler module
for hardware video scaling in the DE33.
Enable support for this scaler.
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com >
Signed-off-by: Ryan Walklin <ryan@testtoast.com >
Acked-by: Maxime Ripard <mripard@kernel.org >
Reviewed-by: Chen-Yu Tsai <wens@csie.org >
Link: https://lore.kernel.org/r/20250528092431.28825-8-ryan@testtoast.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:59:10 +02:00
Jernej Skrabec
5b9cfdbfc3
drm: sun4i: de33: mixer: add Display Engine 3.3 (DE33) support
...
The DE33 is a newer version of the Allwinner Display Engine IP block,
found in the H616, H618, H700 and T507 SoCs. DE2 and DE3 are already
supported by the mainline driver.
Notable features (from the H616 datasheet and implemented):
- 4096 x 2048 (4K) output support
Other features (implemented but not in this patchset):
- AFBC ARM Frame Buffer Compression support
- YUV pipeline support
The DE2 and DE3 engines have a blender register range within the
mixer engine register map, whereas the DE33 separates this out into
a separate display group, and adds a top register map.
The DE33 also appears to remove the global double buffer control
register, present in the DE2 and DE3.
Extend the mixer to support the DE33.
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com >
Signed-off-by: Ryan Walklin <ryan@testtoast.com >
Signed-off-by: Chris Morgan <macromorgan@hotmail.com >
Acked-by: Maxime Ripard <mripard@kernel.org >
Reviewed-by: Chen-Yu Tsai <wens@csie.org >
Link: https://lore.kernel.org/r/20250528092431.28825-7-ryan@testtoast.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:59:09 +02:00
Ryan Walklin
18c4be55e2
dt-bindings: allwinner: add H616 DE33 mixer binding
...
The Allwinner H616 and variants have a new display engine revision
(DE33).
The mixer configuration registers are significantly different to the DE3
and DE2 revisions, being split into separate top and display blocks,
therefore a fallback for the mixer compatible is not provided.
Note that the DE33 mixer requires 3 register blocks instead of 1. To
keep things simple the maxItems value for registers is conditionally
removed for the H616 and replaced with the block names from the vendor
BSP kernel.
Add a display engine mixer binding for the DE33.
Signed-off-by: Ryan Walklin <ryan@testtoast.com >
Acked-by: Conor Dooley <conor.dooley@microchip.com >
Reviewed-by: Chen-Yu Tsai <wens@csie.org >
Signed-off-by: Chris Morgan <macromorgan@hotmail.com >
Link: https://lore.kernel.org/r/20250528092431.28825-6-ryan@testtoast.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:57:19 +02:00
Jernej Skrabec
5419143dd0
drm: sun4i: de2/de3: use generic register reference function for layer configuration
...
Use the new blender register lookup function where required in the layer
commit and update code.
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com >
Signed-off-by: Ryan Walklin <ryan@testtoast.com >
Acked-by: Maxime Ripard <mripard@kernel.org >
Reviewed-by: Chen-Yu Tsai <wens@csie.org >
Link: https://lore.kernel.org/r/20250528092431.28825-5-ryan@testtoast.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:57:18 +02:00
Jernej Skrabec
ef54f1dc24
drm: sun4i: de2/de3: add generic blender register reference function
...
The DE2 and DE3 engines have a blender register range within the
mixer engine register map, whereas the DE33 separates this out into
a separate display group.
Prepare for this by adding a function to look the blender reference up,
with a subsequent patch to add a conditional based on the DE type.
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com >
Signed-off-by: Ryan Walklin <ryan@testtoast.com >
Acked-by: Maxime Ripard <mripard@kernel.org >
Reviewed-by: Chen-Yu Tsai <wens@csie.org >
Link: https://lore.kernel.org/r/20250528092431.28825-4-ryan@testtoast.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:57:18 +02:00
Jernej Skrabec
a281758944
drm: sun4i: de2/de3: refactor mixer initialisation
...
Now that the DE variant can be selected by enum, take the oppportunity
to factor out some common initialisation code to a separate function.
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com >
Signed-off-by: Ryan Walklin <ryan@testtoast.com >
Reviewed-by: Andre Przywara <andre.przywara@arm.com >
Acked-by: Maxime Ripard <mripard@kernel.org >
Reviewed-by: Chen-Yu Tsai <wens@csie.org >
Link: https://lore.kernel.org/r/20250528092431.28825-3-ryan@testtoast.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:57:17 +02:00
Jernej Skrabec
81cf7c6879
drm: sun4i: de2/de3: add mixer version enum
...
The Allwinner DE2 and DE3 display engine mixers are currently identified
by a simple boolean flag. This will not scale to support additional DE
variants.
Convert the boolean flag to an enum.
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com >
Signed-off-by: Ryan Walklin <ryan@testtoast.com >
Reviewed-by: Andre Przywara <andre.przywara@arm.com >
Acked-by: Maxime Ripard <mripard@kernel.org >
Reviewed-by: Chen-Yu Tsai <wens@csie.org >
Link: https://lore.kernel.org/r/20250528092431.28825-2-ryan@testtoast.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:57:17 +02:00
Anusha Srivatsa
6a509853fe
panel/lg-lb035q02: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-46-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:09 +02:00
Anusha Srivatsa
f27a5e66fb
panel/panel-lvds: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-45-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:09 +02:00
Anusha Srivatsa
09d05ec42b
panel/nec-nl8048hl11: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-44-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:08 +02:00
Anusha Srivatsa
5220cbe3c8
panel/s6e88a0-ams452ef01: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-43-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:08 +02:00
Anusha Srivatsa
dcb5b3b776
panel/xinpeng-xpp055c272: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-42-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:07 +02:00
Anusha Srivatsa
6f9bc3d071
panel/widechips-ws2401: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-41-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:07 +02:00
Anusha Srivatsa
9d104921f6
panel/visionox-vtdr6130: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-40-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:06 +02:00
Anusha Srivatsa
5eebde5312
panel/visionox-rm692e5.c: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-39-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:05 +02:00
Anusha Srivatsa
b9c81ac16f
panel/visionox-rm69299: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-38-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:05 +02:00
Anusha Srivatsa
bc946267c8
panel/visionox-r66451: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-37-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:04 +02:00
Anusha Srivatsa
84c9532ae2
panel/tpo-tpg110: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-36-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:04 +02:00
Anusha Srivatsa
e15e4ff477
panel/tpo-td043mtea1: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-35-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:03 +02:00
Anusha Srivatsa
f6cefd33da
panel/tpo-td028ttec1: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-34-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:03 +02:00
Anusha Srivatsa
827337818c
panel/synaptics-r63353: allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-33-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:02 +02:00
Anusha Srivatsa
7bd1d88ca0
panel/panel-summit: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-32-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:02 +02:00
Anusha Srivatsa
064864d375
panel/truly-nt35521: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-31-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:01 +02:00
Anusha Srivatsa
d7c962373e
panel/sony-td4353-jdi: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-30-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:01 +02:00
Anusha Srivatsa
cd268f8fed
panel/sony-acx565akm: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-29-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:00 +02:00
Anusha Srivatsa
9176f33f17
panel/sitronix-st7789v: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-28-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:22:00 +02:00
Anusha Srivatsa
51562aa44c
panel/sitronix-st7703: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-27-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:21:59 +02:00
Anusha Srivatsa
e646a5d1f6
panel/sitronix-st7701: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-26-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:21:58 +02:00
Anusha Srivatsa
066e3df8c8
panel/sharp-ls060t1sx01: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-25-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:21:58 +02:00
Anusha Srivatsa
c32cd7f798
panel/sharp-ls037v7dw01: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-24-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:21:57 +02:00
Anusha Srivatsa
18cb30e24b
panel/seiko-43wvf1g: Use refcounted allocation in place of devm_kzalloc()
...
Move to using the new API devm_drm_panel_alloc() to allocate the
panel.
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org >
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com >
Link: https://lore.kernel.org/r/20250529-b4-drm_panel_mass_driver_convert_part3-v2-23-5d75a3711e40@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org >
2025-06-02 09:21:57 +02:00