drm/ast: Fail probing if DDC channel could not be initialized
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 25 Mar 2024 20:06:47 +0000 (21:06 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 2 Apr 2024 08:40:44 +0000 (10:40 +0200)
commitd66cdb638a49a47e616456ffbd1ec4722bc8fda6
tree7f679e5eeb6e7c87110f6ca5116e64921294a83a
parent8463b66b41add540ef99f5950f42fa10d1a01023
drm/ast: Fail probing if DDC channel could not be initialized

Expect the hardware to provide a DDC channel. Fail probing if its
initialization fails. Failing to initialize the DDC indicates a
larger problem, so there's no point in continuing.

v4:
* give a rational in the commit message

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240325200855.21150-3-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_drv.h
drivers/gpu/drm/ast/ast_i2c.c
drivers/gpu/drm/ast/ast_mode.c