]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5b7896259f55058020b8d986ef4ae0d4b39eb8d
treed01a721b7aed89761d3812e67a19c25fc22b40e1
parent49ba43ca1e1a5d60b181d6d89430ac703028d035
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