summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLiankun Yang <liankun.yang@mediatek.com>2024-12-18 19:34:07 +0800
committerChun-Kuang Hu <chunkuang.hu@kernel.org>2025-01-04 12:15:08 +0000
commit522908140645865dc3e2fac70fd3b28834dfa7be (patch)
tree2b5ecbbd333bab4c9b85954c71e005f7bff0369a /tools/perf/scripts/python/export-to-postgresql.py
parentc4bd13be1949020e3b1c9ed6889988e0b30c3d3b (diff)
drm/mediatek: Add return value check when reading DPCD
Check the return value of drm_dp_dpcd_readb() to confirm that AUX communication is successful. To simplify the code, replace drm_dp_dpcd_readb() and DP_GET_SINK_COUNT() with drm_dp_read_sink_count(). Fixes: f70ac097a2cf ("drm/mediatek: Add MT8195 Embedded DisplayPort driver") Signed-off-by: Liankun Yang <liankun.yang@mediatek.com> Reviewed-by: Guillaume Ranquet <granquet@baylibre.com> Link: https://patchwork.kernel.org/project/dri-devel/patch/20241218113448.2992-1-liankun.yang@mediatek.com/ Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions