diff options
| author | Dave Airlie <[email protected]> | 2025-08-21 06:26:47 +0000 |
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2025-08-21 06:27:14 +0000 |
| commit | dbb2c3adc4a641d9f136005285bcbba15227249c (patch) | |
| tree | b86a0d9c46abcb00b05c34638106cc5c1682d25d /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
| parent | Merge tag 'drm-intel-fixes-2025-08-20' of https://gitlab.freedesktop.org/drm/... (diff) | |
| parent | drm/amd/display: Fix DP audio DTO1 clock source on DCE 6. (diff) | |
| download | kernel-dbb2c3adc4a641d9f136005285bcbba15227249c.tar.gz kernel-dbb2c3adc4a641d9f136005285bcbba15227249c.zip | |
Merge tag 'amd-drm-fixes-6.17-2025-08-20' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
amd-drm-fixes-6.17-2025-08-20:
amdgpu:
- Replay fixes
- SMU14 fix
- Null check DC fixes
- DCE6 DC fixes
- Misc DC fixes
Signed-off-by: Dave Airlie <[email protected]>
From: Alex Deucher <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
| -rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index cd0e2976e268..a0ca3b2c6bd8 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -7792,6 +7792,9 @@ amdgpu_dm_connector_atomic_check(struct drm_connector *conn, struct amdgpu_dm_connector *aconn = to_amdgpu_dm_connector(conn); int ret; + if (WARN_ON(unlikely(!old_con_state || !new_con_state))) + return -EINVAL; + trace_amdgpu_dm_connector_atomic_check(new_con_state); if (conn->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { |
