android_kernel_motorola_sm6375/drivers/gpu
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Colin Ian King 1c0a591d14 drm/amdgpu: fix uninitialized variable pasid_mapping_needed
[ Upstream commit 17cf678a33c6196a3df4531fe5aec91384c9eeb5 ]

The boolean variable pasid_mapping_needed is not initialized and
there are code paths that do not assign it any value before it is
is read later.  Fix this by initializing pasid_mapping_needed to
false.

Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: 6817bf283b2b ("drm/amdgpu: grab the id mgr lock while accessing passid_mapping")
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2019-12-31 16:46:00 +01:00
..
drm drm/amdgpu: fix uninitialized variable pasid_mapping_needed 2019-12-31 16:46:00 +01:00
host1x gpu: host1x: Allocate gather copy for host1x 2019-12-31 16:44:29 +01:00
ipu-v3
vga
Makefile