diff options
author | Dave Airlie <airlied@redhat.com> | 2020-07-28 06:00:03 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2020-07-29 01:43:06 +0200 |
commit | 08bb88cfc4f0c5ac9053197ced139bf116a91280 (patch) | |
tree | d409d14529d971661be7c4db713f52d658fcb1f4 /include/drm/ttm/ttm_tt.h | |
parent | Merge tag 'amd-drm-next-5.9-2020-07-24' of git://people.freedesktop.org/~agd5... (diff) | |
download | linux-08bb88cfc4f0c5ac9053197ced139bf116a91280.tar.xz linux-08bb88cfc4f0c5ac9053197ced139bf116a91280.zip |
drm/ttm: make ttm_tt unbind function return void.
The return value just led to BUG_ON, I think if a driver wants
to BUG_ON here it can do it itself. (don't BUG_ON).
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200728040003.20398-1-airlied@gmail.com
Diffstat (limited to 'include/drm/ttm/ttm_tt.h')
-rw-r--r-- | include/drm/ttm/ttm_tt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/ttm/ttm_tt.h b/include/drm/ttm/ttm_tt.h index c0e928abf592..5e2393fe42c6 100644 --- a/include/drm/ttm/ttm_tt.h +++ b/include/drm/ttm/ttm_tt.h @@ -70,7 +70,7 @@ struct ttm_backend_func { * Unbind previously bound backend pages. This function should be * able to handle differences between aperture and system page sizes. */ - int (*unbind) (struct ttm_tt *ttm); + void (*unbind) (struct ttm_tt *ttm); /** * struct ttm_backend_func member destroy |