Re: [PATCH] drm/amd/display: Add error check for avi and vendor infoframe setup function

2025-04-07 Thread Alex Deucher
On Mon, Apr 7, 2025 at 8:52 AM Wentao Liang wrote: > > The function fill_stream_properties_from_drm_display_mode() calls the > function drm_hdmi_avi_infoframe_from_display_mode() and the > function drm_hdmi_vendor_infoframe_from_display_mode(), but does > not check its return value. Log the error

[PATCH] drm/amd/display: Add error check for avi and vendor infoframe setup function

2025-04-07 Thread Wentao Liang
The function fill_stream_properties_from_drm_display_mode() calls the function drm_hdmi_avi_infoframe_from_display_mode() and the function drm_hdmi_vendor_infoframe_from_display_mode(), but does not check its return value. Log the error messages to prevent silent failure if either function fails.