[Mesa-dev] [PATCH] nvc0: fix wrong value for NVC8_COMPUTE_CLASS
Emil Velikov
emil.l.velikov at gmail.com
Mon Nov 16 02:55:32 PST 2015
On 9 October 2015 at 14:10, Samuel Pitoiset <samuel.pitoiset at gmail.com> wrote:
> Compute class value for GF110+ is 0x91c0 and not 0x92c0. This fixes
> compute support and MP performance counters on GF110.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
> src/gallium/drivers/nouveau/nv_object.xml.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/nouveau/nv_object.xml.h b/src/gallium/drivers/nouveau/nv_object.xml.h
> index 0a0e187..92c0633 100644
> --- a/src/gallium/drivers/nouveau/nv_object.xml.h
> +++ b/src/gallium/drivers/nouveau/nv_object.xml.h
> @@ -197,7 +197,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
> #define NV50_COMPUTE_CLASS 0x000050c0
> #define NVA3_COMPUTE_CLASS 0x000085c0
> #define NVC0_COMPUTE_CLASS 0x000090c0
> -#define NVC8_COMPUTE_CLASS 0x000092c0
> +#define NVC8_COMPUTE_CLASS 0x000091c0
Worth updating the classic one (src/mesa/drivers/dri/nouveau/) as well ?
There is a nasty looking comment in nvc0_screen_compute_setup about
the above class. Afaics although updated the define isn't used
anywhere so I'm dubious how it fixes compute on GF110.
Cheers,
Emil
More information about the mesa-dev
mailing list