Skip to content
  • Faith Ekstrand's avatar
    intel/dev: Handle CHV CS thread weirdness in get_device_info_from_fd · c24ba6ce
    Faith Ekstrand authored
    
    
    Cherryview is weird in that the actual limits we can expose through GL
    are dependent on fusing information which is only obtainable at runtime.
    The same PCI ID may have different configurations with different maximum
    CS thread counts.  We currently handle this in i965 and ANV by doing the
    calculation in the driver.
    
    This dates back to when intel_device_info was computed from the PCI ID.
    Now that we have get_device_info_from_fd, we can move the CHV stuff
    there and get it out of the driver.  This fixes CHV thread counts on
    crocus as well.
    
    Reviewed-by: default avatarCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
    Part-of: <mesa/mesa!11861>
    c24ba6ce