dev-hsa,gpu-compute: Properly assign DmaVirtDevices in py

These SimObjects are DmaVirtDevices in C++ but DmaDevices in the sim
object's python file. Make the sim object python files consistent.

Change-Id: I728ae737c5901e448628fc5ac877f261ca4c4393
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/53704
Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby Bruce <bbruce@ucdavis.edu>
Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
diff --git a/src/dev/hsa/HSADevice.py b/src/dev/hsa/HSADevice.py
index f67d9a8..8a6e61d 100644
--- a/src/dev/hsa/HSADevice.py
+++ b/src/dev/hsa/HSADevice.py
@@ -32,9 +32,9 @@
 from m5.SimObject import SimObject
 from m5.params import *
 from m5.proxy import *
-from m5.objects.Device import DmaDevice
+from m5.objects.Device import DmaVirtDevice
 
-class HSAPacketProcessor(DmaDevice):
+class HSAPacketProcessor(DmaVirtDevice):
     type = 'HSAPacketProcessor'
     cxx_header = 'dev/hsa/hsa_packet_processor.hh'
     cxx_class = 'gem5::HSAPacketProcessor'
diff --git a/src/gpu-compute/GPU.py b/src/gpu-compute/GPU.py
index b739e80..f714cc0 100644
--- a/src/gpu-compute/GPU.py
+++ b/src/gpu-compute/GPU.py
@@ -36,7 +36,7 @@
 
 from m5.objects.Bridge import Bridge
 from m5.objects.ClockedObject import ClockedObject
-from m5.objects.Device import DmaDevice
+from m5.objects.Device import DmaVirtDevice
 from m5.objects.LdsState import LdsState
 from m5.objects.Process import EmulatedDriver
 
@@ -267,7 +267,7 @@
     cxx_class = 'gem5::GPUDispatcher'
     cxx_header = 'gpu-compute/dispatcher.hh'
 
-class GPUCommandProcessor(DmaDevice):
+class GPUCommandProcessor(DmaVirtDevice):
     type = 'GPUCommandProcessor'
     cxx_class = 'gem5::GPUCommandProcessor'
     cxx_header = 'gpu-compute/gpu_command_processor.hh'