diff options
author | Christian König <christian.koenig@amd.com> | 2015-12-15 11:10:30 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-01-08 15:39:28 -0500 |
commit | 191caba6cc4c95ba282304a10a2a9cba85450317 (patch) | |
tree | 9b53df1e91c67a619bcb74c86283fdf8e82c99c0 /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |
parent | 4d42fa492eb80aed28d2237efaee004453579556 (diff) |
drm/amdgpu: add warning to amdgpu_bo_gpu_offset() v2
Check if there really is a valid offset for the BO.
v2: user WARN_ON_ONCE
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c')
0 files changed, 0 insertions, 0 deletions