drm/radeon: fix support for vline relocations.
authorDave Airlie <airlied@redhat.com>
Mon, 29 Jun 2009 01:21:25 +0000 (11:21 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 15 Jul 2009 07:13:08 +0000 (17:13 +1000)
commit531369e62649bb8f31217cc0bf33ee6f89f1dff6
treef06fe09aad7da81b2a56b2cb57932193178585cd
parent3e43d82125952826202a8cd20ba84a66f3ff8808
drm/radeon: fix support for vline relocations.

Userspace sends us a special relocation type to sync video/exa
to vlines to avoid tearing, this deals with the relocation
in the kernel, it picks the correct crtc and avoids issues
where crtcs are disabled.

This version also parses the wait until to make sure it isn't
trying to do anything evil.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r300.c
drivers/gpu/drm/radeon/r500_reg.h
drivers/gpu/drm/radeon/rv515.c