summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-11-17 15:58:46 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2016-11-17 20:30:23 +0000
commit6288c79ea519f6ca3a54d87974b48ca6a8b986af (patch)
tree4d90b793f4ee66d0083520b973065e98a9783c6f /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parenta194b8cb849586306b3f097cfc87c6ccdd7e4ecd (diff)
drm/i915: Add a few more sanity checks for stolen handling
We should never be called via obj->ops->release() on anything other than a fully formed stolen object, so raise that to an assert. In the process tidy up a comment and variable no longer used outside of a conditional BUG. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20161117155846.4631-1-chris@chris-wilson.co.uk Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions