linux/drivers/gpu/drm/amd
Jay Cornwall 2774c63ef3 drm/amdkfd: Use volatile MTYPE in default/alternate apertures
MTYPE_NC_NV (0) marks scalar/vector L1 cache lines as non-volatile.
Cache lines loaded through these apertures are intended to be
invalidated before (and sometimes during) a dispatch. The non-volatile
qualifier prevents these cache lines from being distinguished from
those loaded through the private aperture.

Use MTYPE_NC (1) instead on both Gfx7 and Gfx8. This allows the
compiler to use the BUFFER_WBINVL1_VOL instruction and is a precursor
to automatic per-dispatch scalar/vector L1 volatile invalidation.

Signed-off-by: Jay Cornwall <Jay.Cornwall@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2018-05-01 17:56:03 -04:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: Add doorbell routing info to kgd2kfd_shared_resources 2018-04-10 17:33:02 -04:00
amdkfd drm/amdkfd: Use volatile MTYPE in default/alternate apertures 2018-05-01 17:56:03 -04:00
display exynos, i915, vc4, amdgpu fixes 2018-04-22 17:14:29 -07:00
include drm/amdgpu: Add doorbell routing info to kgd2kfd_shared_resources 2018-04-10 17:33:02 -04:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/powerplay: header file interface to SMU update 2018-04-19 10:25:06 -05:00