Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | drm/amdgpu: Fix static checker warning | Rex Zhu | 2018-11-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c:49 amdgpu_allocate_static_csa() error: uninitialized symbol 'ptr'. the test if (!bo) doesn't work, as the bo is a pointer to a pointer. if bo create failed, the *bo will be set to NULL. so change to test *bo. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> | ||||
* | drm/amdgpu: Move csa related code to separate file | Rex Zhu | 2018-11-05 | 1 | -0/+117 |
In baremetal, also need to reserve csa for preemption. so move the csa related code out of sriov. Reviewed-by: Monk Liu <Monk.Liu@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> |