From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 104604] [amdgpu/radeon][regression, CIK] Prefetch the compute shader to TC L2 (4a4ff66dbe) causes GPU VM errors when running OpenCL kernels on Hawaii Date: Fri, 12 Jan 2018 16:25:21 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0829690828==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B4FFF6E843 for ; Fri, 12 Jan 2018 16:25:21 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0829690828== Content-Type: multipart/alternative; boundary="15157743210.B50B3.13796" Content-Transfer-Encoding: 7bit --15157743210.B50B3.13796 Date: Fri, 12 Jan 2018 16:25:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D104604 Bug ID: 104604 Summary: [amdgpu/radeon][regression, CIK] Prefetch the compute shader to TC L2 (4a4ff66dbe) causes GPU VM errors when running OpenCL kernels on Hawaii Product: Mesa Version: 17.1 Hardware: All OS: All Status: NEW Severity: critical Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: vedran@miletic.net QA Contact: dri-devel@lists.freedesktop.org Commit 4a4ff66dbe radeonsi: also prefetch compute shaders enabled prefetchi= ng the compute shader to TC L2 for CIK+. This causes GPU VM errors on Hawaii, Kabini, and likely other CIK GPUs when running certain OpenCL programs (it seems that the key is to call clCreateContext() twice or more, see below) w= ith Clover, both with amdgpu and radeon kernel drivers. I have tested with 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT GL [FirePro W9100] [1002:67a0] on Fedora rawhide (28) with kernel 4.15.0-0.rc7.git2.1.fc28.x86_64. I'll minimize the example program that causes this (right now using GROMACS tests, but that's unnecessarily complex), and provide the details (grepped + full dmesg) in the comments for both amdgpu and radeon kernel drivers. --=20 You are receiving this mail because: You are the assignee for the bug.= --15157743210.B50B3.13796 Date: Fri, 12 Jan 2018 16:25:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 104604
Summary [amdgpu/radeon][regression, CIK] Prefetch the compute shader = to TC L2 (4a4ff66dbe) causes GPU VM errors when running OpenCL kernels on H= awaii
Product Mesa
Version 17.1
Hardware All
OS All
Status NEW
Severity critical
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter vedran@miletic.net
QA Contact dri-devel@lists.freedesktop.org

Commit 4a4ff66dbe radeonsi: also prefetch compute shaders enab=
led prefetching
the compute shader to TC L2 for CIK+. This causes GPU VM errors on Hawaii,
Kabini, and likely other CIK GPUs when running certain OpenCL programs (it
seems that the key is to call clCreateContext() twice or more, see below) w=
ith
Clover, both with amdgpu and radeon kernel drivers. I have tested with

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Hawaii XT GL [FirePro W9100] [1002:67a0]

on Fedora rawhide (28) with kernel 4.15.0-0.rc7.git2.1.fc28.x86_64.

I'll minimize the example program that causes this (right now using GROMACS
tests, but that's unnecessarily complex), and provide the details (grepped +
full dmesg) in the comments for both amdgpu and radeon kernel drivers.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15157743210.B50B3.13796-- --===============0829690828== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0829690828==--