amd-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Mark Yacoub <markyacoub@chromium.org>
To: youling 257 <youling257@gmail.com>
Cc: Qingqing Zhuo <qingqing.zhuo@amd.com>,
	"Siqueira, Rodrigo" <Rodrigo.Siqueira@amd.com>,
	amd-gfx list <amd-gfx@lists.freedesktop.org>,
	"Deucher, Alexander" <alexander.deucher@amd.com>,
	"Wheeler, Daniel" <daniel.wheeler@amd.com>,
	Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>,
	Alex Deucher <alexdeucher@gmail.com>,
	"Kazlauskas, Nicholas" <nicholas.kazlauskas@amd.com>
Subject: Re: [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane.""
Date: Mon, 10 May 2021 11:18:09 -0400	[thread overview]
Message-ID: <CAJUqKUoxKdp+U5y0gzi=_N94zs6b9DjUoYT3Mfn0-z-X0hCbMQ@mail.gmail.com> (raw)
In-Reply-To: <CAOzgRdaKpwd5ze8om4F22yq_DeREma1H6KUquqJ34dnSTvsjiQ@mail.gmail.com>

Like the previous time it was reverted, there is a chance it's a user
space bug that's not passing the correct modifier.
Are you able to check what exactly returns false in the code above.
This will give you the greatest hint on what the userspace is missing
and needs to be fixed there.

On Sun, May 9, 2021 at 10:09 PM youling 257 <youling257@gmail.com> wrote:
>
> Revert "Revert "drm/amdgpu: Ensure that the modifier requested is
> supported by plane."" is first bad commt.
> "drm/amd/display: Fix two cursor duplication when using overlay" is
> second bad commit.
> they cause same problem, look the video.
> i have to revert two patch for my androidx86 run on amdgpu.
>
> 2021-05-10 5:42 GMT+08:00, youling 257 <youling257@gmail.com>:
> > error dmesg
> >
> > [  115.977746] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
> > [  115.980406] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe
> > 0
> > [  115.993656] [drm:drm_mode_addfb2 [drm]] [FB:104]
> > [  115.993694] [drm:drm_mode_addfb2 [drm]] [FB:105]
> > [  115.993722] [drm:drm_mode_addfb2 [drm]] [FB:106]
> > [  115.993750] [drm:drm_mode_addfb2 [drm]] [FB:107]
> > [  115.993777] [drm:drm_mode_addfb2 [drm]] [FB:108]
> > [  115.994215] [drm:drm_mode_addfb2 [drm]] [FB:104]
> > [  115.994371] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
> > [  115.997095] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe
> > 0
> > [  116.010298] [drm:drm_mode_addfb2 [drm]] [FB:102]
> > [  116.010337] [drm:drm_mode_addfb2 [drm]] [FB:105]
> > [  116.010366] [drm:drm_mode_addfb2 [drm]] [FB:106]
> > [  116.010394] [drm:drm_mode_addfb2 [drm]] [FB:107]
> > [  116.010422] [drm:drm_mode_addfb2 [drm]] [FB:108]
> > [  116.010853] [drm:drm_mode_addfb2 [drm]] [FB:102]
> > [  116.011018] [drm:dm_plane_helper_prepare_fb [amdgpu]] No FB bound
> > [  116.013694] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe
> > 0
> >
> >
> > normal dmesg
> >  3464.827004] [drm:drm_mode_addfb2 [drm]] [FB:105]
> > [ 3464.833405] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe
> > 0
> > [ 3464.833981] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe
> > 3
> > [ 3464.842396] [drm:drm_mode_addfb2 [drm]] [FB:104]
> > [ 3464.842476] [drm:drm_mode_addfb2 [drm]] [FB:106]
> > [ 3464.842550] [drm:drm_mode_addfb2 [drm]] [FB:107]
> > [ 3464.842615] [drm:drm_mode_addfb2 [drm]] [FB:108]
> > [ 3464.842679] [drm:drm_mode_addfb2 [drm]] [FB:109]
> > [ 3464.842741] [drm:drm_mode_addfb2 [drm]] [FB:110]
> > [ 3464.843748] [drm:drm_mode_addfb2 [drm]] [FB:104]
> > [ 3464.843821] [drm:drm_mode_addfb2 [drm]] [FB:106]
> > [ 3464.850026] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe
> > 0
> > [ 3464.850378] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe
> > 3
> > [ 3464.858841] [drm:drm_mode_addfb2 [drm]] [FB:102]
> > [ 3464.858878] [drm:drm_mode_addfb2 [drm]] [FB:105]
> > [ 3464.858906] [drm:drm_mode_addfb2 [drm]] [FB:107]
> > [ 3464.858933] [drm:drm_mode_addfb2 [drm]] [FB:108]
> > [ 3464.858960] [drm:drm_mode_addfb2 [drm]] [FB:109]
> > [ 3464.858987] [drm:drm_mode_addfb2 [drm]] [FB:110]
> > [ 3464.859609] [drm:drm_mode_addfb2 [drm]] [FB:102]
> > [ 3464.859641] [drm:drm_mode_addfb2 [drm]] [FB:105]
> > [ 3464.866353] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe
> > 0
> > [ 3464.866653] [drm:dcn10_program_pipe [amdgpu]] Un-gated front end for pipe
> > 3
> >
> > 2021-05-10 4:57 GMT+08:00, Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>:
> >> It would be very helpful if you could enable drm.debug=0x4 and then
> >> take the dmesg to figure out what modifier was rejected
> >>
> >> On Sun, May 9, 2021 at 10:51 PM youling 257 <youling257@gmail.com> wrote:
> >>>
> >>> look this video,
> >>> https://drive.google.com/file/d/1QklH_H2AlOTu8W1D3yl6_3rtZ7IqbjR_/view?usp=sharing
> >>>
> >>> 2021-05-09 23:52 GMT+08:00, Alex Deucher <alexdeucher@gmail.com>:
> >>> > On Sun, May 9, 2021 at 11:42 AM youling257 <youling257@gmail.com>
> >>> > wrote:
> >>> >>
> >>> >> I using amd 3400g running with android-x86, this patch is a bad
> >>> >> commit
> >>> >> when i use android-x86 on amdgpu.
> >>> >
> >>> > Can you provide more details?  What sort of problem are you seeing?
> >>> > Please provide your dmesg output.
> >>> >
> >>> > Alex
> >>> >
> >>> >
> >>> >> _______________________________________________
> >>> >> amd-gfx mailing list
> >>> >> amd-gfx@lists.freedesktop.org
> >>> >> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> >>> >
> >>
> >
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  reply	other threads:[~2021-05-10 15:19 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-14 23:35 [PATCH 1/2] drm/amd/display: Update modifier list for gfx10_3 Qingqing Zhuo
2021-04-14 23:35 ` [PATCH 2/2] Revert "Revert "drm/amdgpu: Ensure that the modifier requested is supported by plane."" Qingqing Zhuo
2021-04-15 14:20   ` Mark Yacoub
2021-05-09 12:10   ` youling257
2021-05-09 15:52     ` Alex Deucher
2021-05-09 20:51       ` youling 257
2021-05-09 20:57         ` Bas Nieuwenhuizen
2021-05-09 21:42           ` youling 257
2021-05-10  2:09             ` youling 257
2021-05-10 15:18               ` Mark Yacoub [this message]
2021-05-10 16:32                 ` youling 257
2021-05-10 16:45                   ` youling 257
2021-05-10 16:50                     ` Mark Yacoub
2021-05-10 17:05                       ` youling 257
2021-05-10 17:24                         ` youling 257
2022-06-13 23:37                           ` Mike Lothian
2021-05-10 17:30                       ` youling 257
2021-04-15 11:25 ` [PATCH 1/2] drm/amd/display: Update modifier list for gfx10_3 Bas Nieuwenhuizen
2021-04-15 16:06   ` Zhuo, Qingqing
2021-04-15 16:27     ` Bas Nieuwenhuizen
2021-04-15 17:37       ` Zhuo, Qingqing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJUqKUoxKdp+U5y0gzi=_N94zs6b9DjUoYT3Mfn0-z-X0hCbMQ@mail.gmail.com' \
    --to=markyacoub@chromium.org \
    --cc=Rodrigo.Siqueira@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=alexdeucher@gmail.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=bas@basnieuwenhuizen.nl \
    --cc=daniel.wheeler@amd.com \
    --cc=nicholas.kazlauskas@amd.com \
    --cc=qingqing.zhuo@amd.com \
    --cc=youling257@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).