drm/radeon/kms: fix GTT/VRAM overlapping test
commit83573f5bcad91bd12ae3f7e8a429d8696c7dc663
authorJerome Glisse <jglisse@redhat.com>
Mon, 16 Aug 2010 15:54:36 +0000 (16 11:54 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Aug 2010 23:44:02 +0000 (26 16:44 -0700)
treee64b182f64d5219945c1d8b2962bd22502abd2d1
parent3b56b9bb1a1efdc3c70e47d3065c6cee7057e410
drm/radeon/kms: fix GTT/VRAM overlapping test

commit 2cbeb4efc2b9739fe6019b613ae658bd2119a3eb upstream.

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>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/radeon_device.c