diff options
| author | Lyude Paul <[email protected]> | 2022-05-26 20:43:13 +0000 |
|---|---|---|
| committer | Lyude Paul <[email protected]> | 2022-07-14 20:33:25 +0000 |
| commit | ca0367ca5d9216644b41f86348d6661f8d9e32d8 (patch) | |
| tree | 8d426b331dea84ebfa1fdb9e6c5069a4c3886b61 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/mgag200: Don't read-back PCI option register before writing (diff) | |
| download | kernel-ca0367ca5d9216644b41f86348d6661f8d9e32d8.tar.gz kernel-ca0367ca5d9216644b41f86348d6661f8d9e32d8.zip | |
drm/nouveau/kms: Fix failure path for creating DP connectors
It looks like that when we moved nouveau over to using drm_dp_aux_init()
and registering it's aux bus during late connector registration, we totally
forgot to fix the failure codepath in nouveau_connector_create() - as it
still seems to assume that drm_dp_aux_init() can fail (it can't).
So, let's fix that and also add a missing check to ensure that we've
properly allocated nv_connector->aux.name while we're at it.
Signed-off-by: Lyude Paul <[email protected]>
Reviewed-by: David Airlie <[email protected]>
Fixes: fd43ad9d47e7 ("drm/nouveau/kms/nv50-: Move AUX adapter reg to connector late register/early unregister")
Cc: <[email protected]> # v5.14+
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
