diff options
| author | Jon Derrick <[email protected]> | 2019-03-16 00:05:16 +0000 |
|---|---|---|
| committer | Ben Skeggs <[email protected]> | 2019-05-01 01:08:39 +0000 |
| commit | f10b83de1fd49216a4c657816f48001437e4bdd5 (patch) | |
| tree | 2f3db3c580ab3e0d69a107316bd24fb43901c8ed /drivers/gpu/drm/lima/lima_gem.c | |
| parent | drm/nouveau/bar/nv50: check bar1 vmm return value (diff) | |
| download | kernel-f10b83de1fd49216a4c657816f48001437e4bdd5.tar.gz kernel-f10b83de1fd49216a4c657816f48001437e4bdd5.zip | |
drm/nouveau/bar/nv50: ensure BAR is mapped
If the BAR is zero size, it indicates it was never successfully mapped.
Ensure that the BAR is valid during initialization before attempting to
use it.
Signed-off-by: Jon Derrick <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
