diff options
author | Gabe Teeger <gabe.teeger@amd.com> | 2023-09-15 18:18:48 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-11-28 17:20:16 +0000 |
commit | 17117871bf0d6792f7aacec0f57cdc63fc01042a (patch) | |
tree | 52e111ab945e15a68545fd0a86d3d598b7844e25 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | b4166941c03dc0b8b958ff3f295ad6e67f967a3d (diff) |
drm/amd/display: Add Null check for DPP resource
commit e186400685d8a9287388a8535e2399bc673bfe95 upstream.
[what and why]
Check whether dpp resource pointer is null in advance and return early
if so.
Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Martin Leung <martin.leung@amd.com>
Signed-off-by: Gabe Teeger <gabe.teeger@amd.com>
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions