Commit 276028f
drm/amdgpu: fix NULL pointer issue buffer funcs
[ Upstream commit 9877a86 ]
If SDMA block not enabled, buffer_funcs will not initialize,
fix the null pointer issue if buffer_funcs not initialized.
Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 31a1fb3 commit 276028f
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3280 | 3280 | | |
3281 | 3281 | | |
3282 | 3282 | | |
3283 | | - | |
| 3283 | + | |
| 3284 | + | |
3284 | 3285 | | |
3285 | 3286 | | |
3286 | 3287 | | |
| |||
0 commit comments