diff options
author | Tom St Denis <tom.stdenis@amd.com> | 2016-03-03 17:45:29 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-03-08 19:01:56 +0300 |
commit | ff923479ee9b6ba9244398c7e97878fa37b5343c (patch) | |
tree | 7c4391d473e006fcc774b738fa2f36e23eadab40 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 74c1e842793fcc470413b1f7d14e2e74e1e8240b (diff) | |
download | linux-ff923479ee9b6ba9244398c7e97878fa37b5343c.tar.xz |
drm/amd/amdgpu: make afmt_init cleanup if alloc fails (DCEv8)
If the allocation fails free memory and return error code.
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions