]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit36cf6b28582e7ca962f0d9162cff9b9e18939cce
tree2b4af7ef508dd2d8395a9d9adba004c4df76cdb5
parent7205ccaf517f8de45fc0fdf43004e6f7b49b4ce1
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