GPU producer redesign: Device class
Refactoring code for reuse:
-
Parametrize DRM version name. This enables developers to just set drm_version_name
to open a DRM device, effectively reusingopen_device()
andhas_version_name()
-
Isolate DRM device file descriptor into helper class Device
-
Move panfrost device source into gpu/panfrost/device.cc
-
Move counters data into Device class, keeping panfrost-related code in panfrost/device.cc
-
Move get counter value function in panfrost/device.cc
-
Move get tile size function in panfrost/device.cc
-
Rebase on !14 (merged)
Edited by Antonio Caggiano