Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3579293f authored by Jon Derrick's avatar Jon Derrick Committed by Greg Kroah-Hartman
Browse files

drm/nouveau/bar/gf100: ensure BAR is mapped



commit 12e08beb32d64b6070b718630490db83dd321c8c upstream.

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>
Signed-off-by: default avatarSushma Kalakota <sushmax.kalakota@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e9f3e2ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment