]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/radeon: some r420s have a CP race with the DMA engine.
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 21 Sep 2009 04:48:45 +0000 (14:48 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 21 Sep 2009 04:48:45 +0000 (14:48 +1000)
commitaadd4e17452d3d5c2269cd2b000b7de7cfb6c79e
tree7db901a331809805874891319e0624c055a08662
parent5a6e9f9658c853fea8ebbf64cd36287f00a011a2
drm/radeon: some r420s have a CP race with the DMA engine.

This patch makes sure the CP doesn't DMA do VRAM while 2D
is active by inserting a CP resync token.

todo: port to kms.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_cp.c
drivers/gpu/drm/radeon/radeon_drv.h