diff options
| author | Tianjia Zhang <[email protected]> | 2020-08-02 11:56:55 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2020-08-17 20:16:40 +0000 |
| commit | e714977eef8fb40ea8234527d1b0c9d238bf1661 (patch) | |
| tree | f58bfa0160e01045c5d334e615ff2ecb34445854 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/i915: Update bw_buddy pagemask table (diff) | |
| download | kernel-e714977eef8fb40ea8234527d1b0c9d238bf1661.tar.gz kernel-e714977eef8fb40ea8234527d1b0c9d238bf1661.zip | |
drm/i915: Fix wrong return value
In function i915_active_acquire_preallocate_barrier(), not all
paths have the return value set correctly, and in case of memory
allocation failure, a negative error code should be returned.
Cc: Chris Wilson <[email protected]>
Signed-off-by: Tianjia Zhang <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
