Skip to content
Snippets Groups Projects
  1. Mar 19, 2015
  2. Mar 18, 2015
    • Jeff McGee's avatar
      intel: Export total subslice and EU counts · d556e068
      Jeff McGee authored
      
      Update kernel interface with new I915_GETPARAM ioctl entries for
      subslice total and EU total. Add a wrapping function for each
      parameter. Userspace drivers need these values when constructing
      GPGPU commands. This kernel query method is intended to replace
      the PCI ID-based tables that userspace drivers currently maintain.
      The kernel driver can employ fuse register reads as needed to
      ensure the most accurate determination of GT config attributes.
      This first became important with Cherryview in which the config
      could differ between devices with the same PCI ID.
      
      The kernel detection of these values is device-specific. Userspace
      drivers should continue to maintain ID-based tables for older
      devices which return ENODEV when using this query.
      
      v2: remove unnecessary include of <stdbool.h> and increment the
          I915_GETPARAM indices to match updated kernel patch.
      
      For: VIZ-4636
      Reviewed-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
      Signed-off-by: default avatarJeff McGee <jeff.mcgee@intel.com>
      Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
      d556e068
  3. Mar 17, 2015
  4. Mar 16, 2015
  5. Mar 15, 2015
  6. Mar 14, 2015
  7. Mar 13, 2015
  8. Mar 10, 2015
Loading