amd/common: Remove redundant code for determining memory ops per clock
Removed the duplicate code of ac_memory_ops_per_clock
in ac_gpu_info.c
and includes of amdgpu_drm.h
in ac_gpu_info.h
.
Unfortunately, if ac_gpu_info.h
can't include amdgpu_drm.h
, the #define
statements for Windows need to be duplicated for every file using them.
At the moment, this is just ac_rgp.c
, but radv_rmv.c
in !17331 (merged) and the Radeon Raytracing Analyzer support I'm working on need this as well.
Cc @mareko