drm/nouveau: completely fail init if we fail to map the PRAMIN BAR
authorBen Skeggs <bskeggs@redhat.com>
Wed, 2 Jun 2010 00:16:24 +0000 (10:16 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 8 Jun 2010 01:02:56 +0000 (11:02 +1000)
commit6d696305530c0b3fcd7d15ad87d7203cb53df5b7
treeee771c7b9023cd7b2473b31c6d6fb664b25cdf90
parent1eb38100abc467f1133e548d82ab171cab34292b
drm/nouveau: completely fail init if we fail to map the PRAMIN BAR

On cards where there's a specific BAR for PRAMIN, we used to try and fall
back to the "legacy" aperture within the mmio BAR.

This is doomed to cause problems, so lets just fail completely as there's
obviously something else very wrong anyway.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_state.c