Skip to content
Commit f10b83de authored by Jon Derrick's avatar Jon Derrick Committed by Ben Skeggs
Browse files

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: default avatarJon Derrick <jonathan.derrick@intel.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 307a312d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment