mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
drm/radeon: add vm_set_page tracepoint
Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
f9eaf9ae78
commit
74d360f66b
4 changed files with 33 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
|||
#include <drm/drmP.h>
|
||||
#include "radeon.h"
|
||||
#include "radeon_asic.h"
|
||||
#include "radeon_trace.h"
|
||||
#include "sid.h"
|
||||
|
||||
u32 si_gpu_check_soft_reset(struct radeon_device *rdev);
|
||||
|
@ -79,6 +80,8 @@ void si_dma_vm_set_page(struct radeon_device *rdev,
|
|||
uint64_t value;
|
||||
unsigned ndw;
|
||||
|
||||
trace_radeon_vm_set_page(pe, addr, count, incr, r600_flags);
|
||||
|
||||
if (flags & RADEON_VM_PAGE_SYSTEM) {
|
||||
while (count) {
|
||||
ndw = count * 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue