diff options
author | Cihangir Akturk <cakturk@gmail.com> | 2017-08-03 14:58:35 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-08-15 14:46:12 -0400 |
commit | 07f65bb22fcc97a89f85570001512adb5d7973bd (patch) | |
tree | d941bd52faa4d9c5c2ef623a598d066164c97dfd /drivers/gpu/drm/radeon/radeon_cs.c | |
parent | f62facc2eb78ebbedae70e394ac034ab9407a244 (diff) | |
download | linux-07f65bb22fcc97a89f85570001512adb5d7973bd.tar.gz linux-07f65bb22fcc97a89f85570001512adb5d7973bd.tar.bz2 linux-07f65bb22fcc97a89f85570001512adb5d7973bd.zip |
drm/radeon: switch to drm_*{get,put} helpers
drm_*_reference() and drm_*_unreference() functions are just
compatibility alias for drm_*_get() and drm_*_put() adn should not be
used by new code. So convert all users of compatibility functions to use
the new APIs.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Cihangir Akturk <cakturk@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_cs.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c index 00b22af70f5c..ea0db260ed8e 100644 --- a/drivers/gpu/drm/radeon/radeon_cs.c +++ b/drivers/gpu/drm/radeon/radeon_cs.c @@ -437,7 +437,7 @@ static void radeon_cs_parser_fini(struct radeon_cs_parser *parser, int error, bo if (bo == NULL) continue; - drm_gem_object_unreference_unlocked(&bo->gem_base); + drm_gem_object_put_unlocked(&bo->gem_base); } } kfree(parser->track); |