Skip to content

GPU producer redesign: Device class

Antonio Caggiano requested to merge gpu-redesign into master

Refactoring code for reuse:

  • Parametrize DRM version name. This enables developers to just set drm_version_name to open a DRM device, effectively reusing open_device() and has_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

Merge request reports