Files
linux/drivers/gpu/drm/msm/msm_gem.c
Brian Masney 5b655c4c2d drm/msm: correct attempted NULL pointer dereference in debugfs
[ Upstream commit 90f94660e5 ]

msm_gem_describe() would attempt to dereference a NULL pointer via the
address space pointer when no IOMMU is present. Correct this by adding
the appropriate check.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Fixes: 575f048550 ("drm/msm: Clean up and enhance the output of the 'gem' debugfs node")
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190513234105.7531-2-masneyb@onstation.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-06-15 11:52:50 +02:00

27 KiB