[PATCH 0/2] drm/xlnx/zynqmp_dpsub: improve usage of drm encoder

From: Diogo Silva

Date: Tue Jul 07 2026 - 11:35:22 EST


This series addresses two things:
- Remove the usage of the deprecated drm_simple_encoder_init on the
zynqmp_dpsub driver, substituting by drm_encoder_init
- Add a return value check for the drm_encoder_init, preventing a
potentially uninitialized encoder being cleaned up

Signed-off-by: Diogo Silva <diogompaissilva@xxxxxxxxx>
---
Diogo Silva (2):
drm/xlnx/zynqmp_dpsub: remove dependency on DRM simple helpers
drm/xlnx/zynqmp_dpsub: check return value on drm_encoder_init

drivers/gpu/drm/xlnx/zynqmp_kms.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
---
base-commit: 7a8782fa5da551a92ada0aca6f7dbadfc4c36da3
change-id: 20260707-xlnx-simple-12cd05c1d745

Best regards,
--
Diogo Silva <diogompaissilva@xxxxxxxxx>