From: bugzilla-daemon@freedesktop.org Subject: [Bug 108096] [amd-staging-drm-next] SDDM screen corruption (not usable) with RX580, amdgpu, dc=1 (of course), regression - [bisected] Date: Fri, 26 Oct 2018 03:36:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1084273829==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 4200C6E3E5 for ; Fri, 26 Oct 2018 03:36:12 +0000 (UTC) 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 --===============1084273829== Content-Type: multipart/alternative; boundary="15405249721.7252.1859" Content-Transfer-Encoding: 7bit --15405249721.7252.1859 Date: Fri, 26 Oct 2018 03:36:12 +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=3D108096 Dieter N=C3=BCtzel changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[amd-staging-drm-next] SDDM |[amd-staging-drm-next] SDDM |screen corruption (not |screen corruption (not |usable) with RX580, amdgpu, |usable) with RX580, amdgpu, |dc=3D1 (of course), |dc=3D1 (of course), |regression |regression - [bisected] --- Comment #13 from Dieter N=C3=BCtzel --- DONE - amd-staging-drm-next 964d0fbf6301d3dc8dfad19ffab5a06d002d27f1 is the first bad commit commit 964d0fbf6301d3dc8dfad19ffab5a06d002d27f1 Author: Andrey Grodzovsky Date: Fri Jul 6 14:16:54 2018 -0400 drm/amdgpu: Allow to create BO lists in CS ioctl v3 This change is to support MESA performace optimization. Modify CS IOCTL to allow its input as command buffer and an array of buffer handles to create a temporay bo list and then destroy it when IOCTL completes. This saves on calling for BO_LIST create and destry IOCTLs in MESA and by this improves performance. v2: Avoid inserting the temp list into idr struct. v3: Remove idr alloation from amdgpu_bo_list_create. Remove useless argument from amdgpu_cs_parser_fini Minor cosmetic stuff. v4: Revert amdgpu_bo_list_destroy back to static Signed-off-by: Andrey Grodzovsky Reviewed-by: Christian K=C3=B6nig Reviewed-by: Chunming Zhou Signed-off-by: Alex Deucher :040000 040000 d621cc2fb523ffcaa877faa8ae682878c268478e 6a758c959d69df05023339fa981b067fa027875c M drivers :040000 040000 7f32e65fd49cb9305b5c7440b161771f429aad09 9137d92f44e0b34512b3104141412595da64ce96 M include But 'git revert 964d0fbf6301' do NOT work on amd-staging-drm-next: error: Konnte "revert" nicht auf 964d0fbf6301... (drm/amdgpu: Allow to crea= te BO lists in CS ioctl v3) ausf=C3=BChren Hinweis: nach Aufl=C3=B6sung der Konflikte markieren Sie die korrigierten P= fade Hinweis: mit 'git add ' oder 'git rm ' und tragen Sie das Ergebnis mit Hinweis: 'git commit' ein SOURCE/amd-staging-drm-next> git status Auf Branch amd-staging-drm-next Ihr Branch ist auf demselben Stand wie 'origin/amd-staging-drm-next'. Sie sind gerade an einem Revert von Commit '964d0fbf6301'. (beheben Sie die Konflikte und f=C3=BChren Sie dann "git revert --continu= e" aus) (benutzen Sie "git revert --abort", um die Revert-Operation abzubrechen) zum Commit vorgemerkte =C3=84nderungen: (benutzen Sie "git reset HEAD ..." zum Entfernen aus der Staging-A= rea) ge=C3=A4ndert: drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c ge=C3=A4ndert: include/uapi/drm/amdgpu_drm.h Nicht zusammengef=C3=BChrte Pfade: (benutzen Sie "git reset HEAD ..." zum Entfernen aus der Staging-A= rea) (benutzen Sie "git add/rm ...", um die Aufl=C3=B6sung zu markieren) von beiden ge=C3=A4ndert: drivers/gpu/drm/amd/amdgpu/amdgpu.h von beiden ge=C3=A4ndert: drivers/gpu/drm/amd/amdgpu/amdgpu_bo_l= ist.c von beiden ge=C3=A4ndert: drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c --=20 You are receiving this mail because: You are the assignee for the bug.= --15405249721.7252.1859 Date: Fri, 26 Oct 2018 03:36:12 +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 Dieter N=C3=BCtzel changed bug 10809= 6
What Removed Added
Summary [amd-staging-drm-next] SDDM screen corruption (not usable) w= ith RX580, amdgpu, dc=3D1 (of course), regression [amd-staging-drm-next] SDDM screen corruption (not usable) w= ith RX580, amdgpu, dc=3D1 (of course), regression - [bisected]

Comme= nt # 13 on bug 10809= 6 from Dieter N=C3=BCtzel
DONE - amd-staging-drm-next

964d0fbf6301d3dc8dfad19ffab5a06d002d27f1 is the first bad commit
commit 964d0fbf6301d3dc8dfad19ffab5a06d002d27f1
Author: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Date:   Fri Jul 6 14:16:54 2018 -0400

    drm/amdgpu: Allow to create BO lists in CS ioctl v3

    This change is to support MESA performace optimization.
    Modify CS IOCTL to allow its input as command buffer and an array of
    buffer handles to create a temporay bo list and then destroy it
    when IOCTL completes.
    This saves on calling for BO_LIST create and destry IOCTLs in MESA
    and by this improves performance.

    v2: Avoid inserting the temp list into idr struct.

    v3:
    Remove idr alloation from amdgpu_bo_list_create.
    Remove useless argument from amdgpu_cs_parser_fini
    Minor cosmetic stuff.

    v4: Revert amdgpu_bo_list_destroy back to static

    Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
    Reviewed-by: Christian K=C3=B6nig <christian.koenig@amd.com>
    Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

:040000 040000 d621cc2fb523ffcaa877faa8ae682878c268478e
6a758c959d69df05023339fa981b067fa027875c M drivers
:040000 040000 7f32e65fd49cb9305b5c7440b161771f429aad09
9137d92f44e0b34512b3104141412595da64ce96 M include


But 'git revert 964d0fbf6301' do NOT work on amd-staging-drm-next:

error: Konnte "revert" nicht auf 964d0fbf6301... (drm/amdgpu: All=
ow to create
BO lists in CS ioctl v3) ausf=C3=BChren
Hinweis: nach Aufl=C3=B6sung der Konflikte markieren Sie die korrigierten P=
fade
Hinweis: mit 'git add <Pfade>' oder 'git rm <Pfade>' und tragen=
 Sie das
Ergebnis mit
Hinweis: 'git commit' ein
SOURCE/amd-staging-drm-next> git status
Auf Branch amd-staging-drm-next
Ihr Branch ist auf demselben Stand wie 'origin/amd-staging-drm-next'.

Sie sind gerade an einem Revert von Commit '964d0fbf6301'.
  (beheben Sie die Konflikte und f=C3=BChren Sie dann "git revert --co=
ntinue" aus)
  (benutzen Sie "git revert --abort", um die Revert-Operation abz=
ubrechen)

zum Commit vorgemerkte =C3=84nderungen:
  (benutzen Sie "git reset HEAD <Datei>..." zum Entfernen a=
us der Staging-Area)

        ge=C3=A4ndert:       drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
        ge=C3=A4ndert:       include/uapi/drm/amdgpu_drm.h

Nicht zusammengef=C3=BChrte Pfade:
  (benutzen Sie "git reset HEAD <Datei>..." zum Entfernen a=
us der Staging-Area)
  (benutzen Sie "git add/rm <Datei>...", um die Aufl=C3=B6s=
ung zu markieren)

        von beiden ge=C3=A4ndert:    drivers/gpu/drm/amd/amdgpu/amdgpu.h
        von beiden ge=C3=A4ndert:    drivers/gpu/drm/amd/amdgpu/amdgpu_bo_l=
ist.c
        von beiden ge=C3=A4ndert:    drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c=


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