]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: switch back to the CP ring for VM PT updates
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Jan 2013 21:19:19 +0000 (16:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Jan 2013 21:19:19 +0000 (16:19 -0500)
commita352531493706a0405aea17a6519e9ce9b39be92
tree8ebea53a70b4365a9713f2b8e187583c02b7d7bf
parenta48c5cf5cfd94ec482cb53f0dd8c2acf31dbf612
drm/radeon: switch back to the CP ring for VM PT updates

For large VM page table updates, we can sometimes generate
more packets than there is space on the ring.  This happens
more readily with the DMA ring since it is 64K (vs 1M for the
CP).  For now, switch back to the CP.  For the next kernel,
I have a patch to utilize IBs for VM PT updates which
alleviates this problem.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=58354

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_asic.c