commit | 12e08beb32d64b6070b718630490db83dd321c8c | [log] [tgz] |
---|---|---|
author | Jon Derrick <jonathan.derrick@intel.com> | Fri Mar 15 18:05:17 2019 -0600 |
committer | Ben Skeggs <bskeggs@redhat.com> | Wed May 01 11:08:39 2019 +1000 |
tree | 3a2b641dbcd53c85f5e81ca49e37099682344b7e | |
parent | f10b83de1fd49216a4c657816f48001437e4bdd5 [diff] |
drm/nouveau/bar/gf100: 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 <jonathan.derrick@intel.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>