From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 66963] Rv6xx dpm problems Date: Thu, 02 Jul 2015 18:39:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0813910419==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 396566ECBD for ; Thu, 2 Jul 2015 11:39:27 -0700 (PDT) In-Reply-To: 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 --===============0813910419== Content-Type: multipart/alternative; boundary="1435862367.CDAc538.28802"; charset="UTF-8" --1435862367.CDAc538.28802 Date: Thu, 2 Jul 2015 18:39:27 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D66963 --- Comment #263 from Kajzer --- (In reply to Alex Deucher from comment #251) > (In reply to Kajzer from comment #250) > > With kernels 3.17 and 3.18 I have freezes when playing some games, those > > freezes can happen somewhere between 10 minutes and 1 hour. > > Freeze occur only in games. > > With kernel 3.16 everything is normal and there are no freezes. > > Latest patch (auto->high and radeon.dpm=3D1) is used in each of those k= ernels. > > Everything else is exactly the same, just booting with different kernel > > makes a difference. >=20 > Can you bisect? Sorry for delay. In the meantime I tried every revision of kernel and this bug happened in e= ach. Last known good kernel was 3.16.7. Here's how I started bisect : git bisect start -- drivers/gpu/drm/radeon git bisect good v3.16 git bisect bad v3.17 Results : $ git bisect log git bisect start '--' 'drivers/gpu/drm/radeon/' # bad: [bfe01a5ba2490f299e1d2d5508cbbbadd897bbe9] Linux 3.17 git bisect bad bfe01a5ba2490f299e1d2d5508cbbbadd897bbe9 # good: [19583ca584d6f574384e17fe7613dfaeadcdc4a6] Linux 3.16 git bisect good 19583ca584d6f574384e17fe7613dfaeadcdc4a6 # good: [03f62abd112d5150b6ce8957fa85d4f6e85e357f] drm/radeon: split PT set= up in more functions git bisect good 03f62abd112d5150b6ce8957fa85d4f6e85e357f # bad: [52da51f0f9ea9d213adfc99223630707b26d1d38] drm/radeon: fix active_cu mask on SI and CIK after re-init (v3) git bisect bad 52da51f0f9ea9d213adfc99223630707b26d1d38 # good: [6e909f74db2aa9c5b5606b81efcbe18f2749b008] drm/radeon: add bapm mod= ule parameter git bisect good 6e909f74db2aa9c5b5606b81efcbe18f2749b008 # good: [c8ad8b563c7e724e2fedc3aee5bcbd401668474c] drm/radeon: Remove dupli= cate include from Makefile git bisect good c8ad8b563c7e724e2fedc3aee5bcbd401668474c # good: [73ef0e0d62de4a8d40d34a6f645faee2f6e1ac33] drm/radeon: fix display handling in radeon_gpu_reset git bisect good 73ef0e0d62de4a8d40d34a6f645faee2f6e1ac33 # good: [cd1c9c1a4b06d3bc264e774ad84c410ce02e124e] drm/radeon: re-enable selective GPUVM flushing git bisect good cd1c9c1a4b06d3bc264e774ad84c410ce02e124e # bad: [6101b3ae94b4f266456308824e9ca4eab1235d1a] drm/radeon: fix active cu count for SI and CIK git bisect bad 6101b3ae94b4f266456308824e9ca4eab1235d1a # first bad commit: [6101b3ae94b4f266456308824e9ca4eab1235d1a] drm/radeon: = fix active cu count for SI and CIK # bad: [6101b3ae94b4f266456308824e9ca4eab1235d1a] drm/radeon: fix active cu count for SI and CIK git bisect visualize=20 commit 6101b3ae94b4f266456308824e9ca4eab1235d1a Author: Alex Deucher Date: Tue Aug 19 11:54:15 2014 -0400 drm/radeon: fix active cu count for SI and CIK This fixes the CU count reported to userspace for OpenCL. bug: https://bugzilla.kernel.org/show_bug.cgi?id=3D82581 Signed-off-by: Alex Deucher Reviewed-by: Michel D=C3=A4nzer Cc: stable@vger.kernel.org --=20 You are receiving this mail because: You are the assignee for the bug. --1435862367.CDAc538.28802 Date: Thu, 2 Jul 2015 18:39:27 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comme= nt # 263 on bug 66963<= /a> from Kajzer
(In reply to Alex Deucher from comment #251)
> (In reply to Kajzer from comment #250)
> > With kernels 3.17 and 3.18 I have freezes when playing some games=
, those
> > freezes can happen somewhere between 10 minutes and 1 hour.
> > Freeze occur only in games.
> > With kernel 3.16 everything is normal and there are no freezes.
> > Latest patch (auto->high and radeon.dpm=3D1) is used in each o=
f those kernels.
> > Everything else is exactly the same, just booting with different =
kernel
> > makes a difference.
>=20
> Can you bisect?

Sorry for delay.
In the meantime I tried every revision of kernel and this bug happened in e=
ach.
Last known good kernel was 3.16.7.
Here's how I started bisect :

git bisect start -- drivers/gpu/drm/radeon
git bisect good v3.16
git bisect bad v3.17

Results :

$ git bisect log
git bisect start '--' 'drivers/gpu/drm/radeon/'
# bad: [bfe01a5ba2490f299e1d2d5508cbbbadd897bbe9] Linux 3.17
git bisect bad bfe01a5ba2490f299e1d2d5508cbbbadd897bbe9
# good: [19583ca584d6f574384e17fe7613dfaeadcdc4a6] Linux 3.16
git bisect good 19583ca584d6f574384e17fe7613dfaeadcdc4a6
# good: [03f62abd112d5150b6ce8957fa85d4f6e85e357f] drm/radeon: split PT set=
up
in more functions
git bisect good 03f62abd112d5150b6ce8957fa85d4f6e85e357f
# bad: [52da51f0f9ea9d213adfc99223630707b26d1d38] drm/radeon: fix active_cu
mask on SI and CIK after re-init (v3)
git bisect bad 52da51f0f9ea9d213adfc99223630707b26d1d38
# good: [6e909f74db2aa9c5b5606b81efcbe18f2749b008] drm/radeon: add bapm mod=
ule
parameter
git bisect good 6e909f74db2aa9c5b5606b81efcbe18f2749b008
# good: [c8ad8b563c7e724e2fedc3aee5bcbd401668474c] drm/radeon: Remove dupli=
cate
include from Makefile
git bisect good c8ad8b563c7e724e2fedc3aee5bcbd401668474c
# good: [73ef0e0d62de4a8d40d34a6f645faee2f6e1ac33] drm/radeon: fix display
handling in radeon_gpu_reset
git bisect good 73ef0e0d62de4a8d40d34a6f645faee2f6e1ac33
# good: [cd1c9c1a4b06d3bc264e774ad84c410ce02e124e] drm/radeon: re-enable
selective GPUVM flushing
git bisect good cd1c9c1a4b06d3bc264e774ad84c410ce02e124e
# bad: [6101b3ae94b4f266456308824e9ca4eab1235d1a] drm/radeon: fix active cu
count for SI and CIK
git bisect bad 6101b3ae94b4f266456308824e9ca4eab1235d1a
# first bad commit: [6101b3ae94b4f266456308824e9ca4eab1235d1a] drm/radeon: =
fix
active cu count for SI and CIK
# bad: [6101b3ae94b4f266456308824e9ca4eab1235d1a] drm/radeon: fix active cu
count for SI and CIK

git bisect visualize=20
commit 6101b3ae94b4f266456308824e9ca4eab1235d1a
Author: Alex Deucher <a=
lexander.deucher@amd.com>
Date:   Tue Aug 19 11:54:15 2014 -0400

    drm/radeon: fix active cu count for SI and CIK

    This fixes the CU count reported to userspace for
    OpenCL.

    bug:
    https:/=
/bugzilla.kernel.org/show_bug.cgi?id=3D82581

    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Reviewed-by: Michel D=C3=A4nzer <michel.daenzer@amd.com>
    Cc: stable@vger.kerne=
l.org


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1435862367.CDAc538.28802-- --===============0813910419== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0813910419==--