drm/ttm: fix, avoid iomapping system memory
authorJerome Glisse <jglisse@redhat.com>
Wed, 5 May 2010 09:02:44 +0000 (11:02 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 6 May 2010 23:15:47 +0000 (09:15 +1000)
commit9e51159c14c29ebd485a45ba56f148e180d62c29
treed01a721b7aed89761d3812e67a19c25fc22b40e1
parenta1e9ada3e148dc300fdd25705bd3ac024897dc68
drm/ttm: fix, avoid iomapping system memory

If the memory is not iomem we should not try to
ioremap it. Should fix :

https://bugs.freedesktop.org/show_bug.cgi?id=27822

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Tested-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_bo_util.c