drm/amd/display: add a NULL pointer check

[why]
a fix for a memory crash stress test

Reviewed-by: Chris Park <chris.park@amd.com>
Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Charlene Liu 2026-07-24 13:41:13 -04:00 • committed by Alex Deucher
commit 8f27dbc82e