drm/radeon/kms: fix GTT/VRAM overlapping test
authorJerome Glisse <jglisse@redhat.com>
Mon, 16 Aug 2010 15:54:36 +0000 (11:54 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 19 Aug 2010 22:43:06 +0000 (08:43 +1000)
commit2cbeb4efc2b9739fe6019b613ae658bd2119a3eb
tree2b4af7ef508dd2d8395a9d9adba004c4df76cdb5
parent1b2f1489633888d4a06028315dc19d65768a1c05
drm/radeon/kms: fix GTT/VRAM overlapping test

GTT/VRAM overlapping test had a typo which leaded to not
detecting case when vram_end > gtt_end. This patch fix the
logic and should fix #16574

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_device.c