diff options
author | Jason-JH.Lin <[email protected]> | 2023-10-04 10:40:09 +0800 |
---|---|---|
committer | Chun-Kuang Hu <[email protected]> | 2023-10-08 00:57:21 +0000 |
commit | 01389b324c97ff8f04e9c33b9ee246084f9f6dd2 (patch) | |
tree | d9c7447b5de5026d5642e806d29d72e2562cf37e /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | a260f5624dfc6ec3eb7b5349f51d34c687c07b5c (diff) |
drm/mediatek: Add connector dynamic selection capability
Add dynamic select available connector flow in mtk_drm_crtc_create()
and mtk_drm_crtc_atomic_enable().
In mtk_drm_crtc_create(), if there is a connector routes array in drm
driver data, all components definded in the connector routes array will
be checked and their encoder_index will be set.
In mtk_drm_crtc_atomic_enable(), crtc will check its encoder_index to
identify which componet in the connector routes array should append.
Signed-off-by: Jason-JH.Lin <[email protected]>
Signed-off-by: Nancy Lin <[email protected]>
Signed-off-by: Nathan Lu <[email protected]>
Tested-by: Fei Shao <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Reviewed-by: CK Hu <[email protected]>
Link: https://patchwork.kernel.org/project/dri-devel/patch/[email protected]/
Signed-off-by: Chun-Kuang Hu <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions