drm/radeon/kms: fix crtc vblank update for r600
authorDave Airlie <airlied@redhat.com>
Mon, 21 Dec 2009 04:33:52 +0000 (14:33 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jan 2010 23:04:51 +0000 (15:04 -0800)
commit08ff73341f9d5bde2d5e54bfe4d6a3d2a3f2ee83
treec6033c53822fd2b5d4ccb380f37bd41a0e29ae46
parenta09adfeb9ea89d22c301749a87480ac98edc2cce
drm/radeon/kms: fix crtc vblank update for r600

In 2.6.32.2 r600 had no IRQ support, however the patch in
500b758725314ab1b5316eb0caa5b0fa26740e6b to fix vblanks on avivo
cards, needs irqs.

So check for an R600 card and avoid this path if so.

This is a stable only patch for 2.6.32.2 as 2.6.33 has IRQs for r600.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/atombios_crtc.c