OSDN Git Service

radeonsi: don't use TC L2 for updating descriptors on SI
authorMarek Olšák <marek.olsak@amd.com>
Sun, 4 Jan 2015 21:16:53 +0000 (22:16 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 7 Jan 2015 11:06:43 +0000 (12:06 +0100)
commit02ba7334d35cf8182048c17a149b16f18104c6bf
tree5a402674124cc421d1344b9f680a828eccba6c26
parentedf18da85dd3b1865c4faaba650a8fa371b7103c
radeonsi: don't use TC L2 for updating descriptors on SI

It's causing problems, because we mix uncached CP DMA with cached WRITE_DATA
when updating the same memory.

The solution for SI is to use uncached access here, because CP DMA doesn't
support cached access.

CIK will be handled in the next patch.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/sid.h