drm/radeon: use aperture size not vram size for overlap tests
authorDave Airlie <airlied@redhat.com>
Mon, 20 Dec 2010 00:54:48 +0000 (10:54 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 20 Dec 2010 00:54:48 +0000 (10:54 +1000)
commit68d3059665c4a57223f855eb02f9ab7ce5b3a593
treece1a171dd302401685f42829240ed778acb52f78
parent6f2f48a9a061a94d059f89c69472f467839cc616
drm/radeon: use aperture size not vram size for overlap tests

This fixes a problem where the wrong card conflicts with vesafb in my
x2 system.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_fb.c