All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Limonciello, Mario" <mario.limonciello@amd.com>
To: Lyude Paul <lyude@redhat.com>, Daniel Vetter <daniel@ffwll.ch>,
	Jani Nikula <jani.nikula@linux.intel.com>
Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
	Rodrigo Vivi <rodrigo.vivi@intel.com>,
	stable@vger.kernel.org, stanislav.lisovskiy@intel.com,
	Fangzhi Zuo <Jerry.Zuo@amd.com>,
	amd-gfx@lists.freedesktop.org, Wayne Lin <Wayne.Lin@amd.com>,
	bskeggs@redhat.com
Subject: Re: [PATCH] Revert "drm/display/dp_mst: Move all payload info into the atomic state"
Date: Fri, 13 Jan 2023 13:45:31 -0600	[thread overview]
Message-ID: <dcf0612f-7d40-d607-e9aa-94599594e49f@amd.com> (raw)
In-Reply-To: <748aa93c23e6e4dd353054ea632a21c8017f8769.camel@redhat.com>

On 1/13/2023 13:28, Lyude Paul wrote:
> On Fri, 2023-01-13 at 11:25 +0100, Daniel Vetter wrote:
>> On Fri, Jan 13, 2023 at 12:16:57PM +0200, Jani Nikula wrote:
>>>
>>> Cc: intel-gfx, drm maintainers
>>>
>>> Please have the courtesy of Cc'ing us for changes impacting us, and
>>> maybe try to involve us earlier instead of surprising us like
>>> this. Looks like this has been debugged for at least three months, and
>>> the huge revert at this point is going to set us back with what's been
>>> developed on top of it for i915 DP MST and DSC.
>>
>> tbf I assumed this wont land when I've seen it fly by. It feels a bit much
>> like living under a rock for half a year and then creating a mess for
>> everyone else who's been building on top of this is not great.
>>
>> Like yes it's a regression, but apparently not a blantantly obvious one,
>> and I think if we just ram this in there's considerable community goodwill
>> down the drain. Someone needs to get that goodwill up the drain again.
>>
>>> It's a regression, I get that, but this is also going to be really nasty
>>> to deal with. It's a 2500-line commit, plus the dependencies, which I
>>> don't think are accounted for here. (What's the baseline for the revert
>>> anyway?) I don't expect all the dependent commits to be easy to revert
>>> or backport to v6.1 or v6.2.
>>>
>>> *sad trombone*
>>
>> Yeah that's the other thing. 2500 patch revert is not cc stable material.
>> So this isn't even really helping users all that much.
>>
>> Unless it also comes with full amounts of backports of the reverts on all
>> affected drivers for all curent stable trees, fully validated.

The silver lining here is that in terms of how many stable trees this is 
broken it's only 6.1.y.

Wayne's revert is against drm-tip.

I found that attempting backporting his revert I run into
conflicts in 6.2-rc3 because of:

831a277ef001 ("Revert "drm/i915: Extract drm_dp_atomic_find_vcpi_slots 
cycle to separate function"")

I worked through them and have the result here:
https://gitlab.freedesktop.org/superm1/linux/-/commit/8e926eb77c41e7f32f3d8943cdf7d140ed319b79

and conflicts in 6.1.y from the lack of:

8c7d980da9ba ("drm/nouveau/disp: move DP MST payload config method")

I worked through those as well and the result is here:

https://gitlab.freedesktop.org/superm1/linux/-/commit/2145b4de3fea9908cda6bef0693a797cc7f4ddfc

Affected people in Gitlab #2171 have tested amdgpu works w/ MST again 
with 6.1.5 with that applied.

To your point, we do need someone with the appropriate hardware to make 
sure we didn't make i915 or nouveau worse by this revert though.

>>
>> This is bad. I do think we need to have some understanding first of what
>> "fix this in amdgpu" would look like as plan B. Because plan A does not
>> look like a happy one at all.
> 
> Yeah this whole thing has been a mess, I'm partially to blame here - we should
> have reverted earlier, but a lot of this has been me finding out that the
> problem here is a lot bigger then I previously imagined - and has not at all
> been easy to untangle. I've also dumped so much time into trying to figure it
> out that was more or less the only reason I acked this in the first place, I'm
> literally just quite tired and exhausted at this point from spinning my wheels
> on trying to fix this ;_;.
> 
> I am sure there is a real proper fix for this, if anyone wants to help me try
> and figure this out I'm happy to setup remote access to the machines I've got
> here. I'll also try to push myself to dig further into this next week again.
> 
>> -Daniel
>>
>>> BR,
>>> Jani.
>>>


WARNING: multiple messages have this Message-ID (diff)
From: "Limonciello, Mario" <mario.limonciello@amd.com>
To: Lyude Paul <lyude@redhat.com>, Daniel Vetter <daniel@ffwll.ch>,
	Jani Nikula <jani.nikula@linux.intel.com>
Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
	Rodrigo Vivi <rodrigo.vivi@intel.com>,
	stable@vger.kernel.org, Fangzhi Zuo <Jerry.Zuo@amd.com>,
	amd-gfx@lists.freedesktop.org, Wayne Lin <Wayne.Lin@amd.com>,
	Dave Airlie <airlied@gmail.com>,
	bskeggs@redhat.com
Subject: Re: [Intel-gfx] [PATCH] Revert "drm/display/dp_mst: Move all payload info into the atomic state"
Date: Fri, 13 Jan 2023 13:45:31 -0600	[thread overview]
Message-ID: <dcf0612f-7d40-d607-e9aa-94599594e49f@amd.com> (raw)
In-Reply-To: <748aa93c23e6e4dd353054ea632a21c8017f8769.camel@redhat.com>

On 1/13/2023 13:28, Lyude Paul wrote:
> On Fri, 2023-01-13 at 11:25 +0100, Daniel Vetter wrote:
>> On Fri, Jan 13, 2023 at 12:16:57PM +0200, Jani Nikula wrote:
>>>
>>> Cc: intel-gfx, drm maintainers
>>>
>>> Please have the courtesy of Cc'ing us for changes impacting us, and
>>> maybe try to involve us earlier instead of surprising us like
>>> this. Looks like this has been debugged for at least three months, and
>>> the huge revert at this point is going to set us back with what's been
>>> developed on top of it for i915 DP MST and DSC.
>>
>> tbf I assumed this wont land when I've seen it fly by. It feels a bit much
>> like living under a rock for half a year and then creating a mess for
>> everyone else who's been building on top of this is not great.
>>
>> Like yes it's a regression, but apparently not a blantantly obvious one,
>> and I think if we just ram this in there's considerable community goodwill
>> down the drain. Someone needs to get that goodwill up the drain again.
>>
>>> It's a regression, I get that, but this is also going to be really nasty
>>> to deal with. It's a 2500-line commit, plus the dependencies, which I
>>> don't think are accounted for here. (What's the baseline for the revert
>>> anyway?) I don't expect all the dependent commits to be easy to revert
>>> or backport to v6.1 or v6.2.
>>>
>>> *sad trombone*
>>
>> Yeah that's the other thing. 2500 patch revert is not cc stable material.
>> So this isn't even really helping users all that much.
>>
>> Unless it also comes with full amounts of backports of the reverts on all
>> affected drivers for all curent stable trees, fully validated.

The silver lining here is that in terms of how many stable trees this is 
broken it's only 6.1.y.

Wayne's revert is against drm-tip.

I found that attempting backporting his revert I run into
conflicts in 6.2-rc3 because of:

831a277ef001 ("Revert "drm/i915: Extract drm_dp_atomic_find_vcpi_slots 
cycle to separate function"")

I worked through them and have the result here:
https://gitlab.freedesktop.org/superm1/linux/-/commit/8e926eb77c41e7f32f3d8943cdf7d140ed319b79

and conflicts in 6.1.y from the lack of:

8c7d980da9ba ("drm/nouveau/disp: move DP MST payload config method")

I worked through those as well and the result is here:

https://gitlab.freedesktop.org/superm1/linux/-/commit/2145b4de3fea9908cda6bef0693a797cc7f4ddfc

Affected people in Gitlab #2171 have tested amdgpu works w/ MST again 
with 6.1.5 with that applied.

To your point, we do need someone with the appropriate hardware to make 
sure we didn't make i915 or nouveau worse by this revert though.

>>
>> This is bad. I do think we need to have some understanding first of what
>> "fix this in amdgpu" would look like as plan B. Because plan A does not
>> look like a happy one at all.
> 
> Yeah this whole thing has been a mess, I'm partially to blame here - we should
> have reverted earlier, but a lot of this has been me finding out that the
> problem here is a lot bigger then I previously imagined - and has not at all
> been easy to untangle. I've also dumped so much time into trying to figure it
> out that was more or less the only reason I acked this in the first place, I'm
> literally just quite tired and exhausted at this point from spinning my wheels
> on trying to fix this ;_;.
> 
> I am sure there is a real proper fix for this, if anyone wants to help me try
> and figure this out I'm happy to setup remote access to the machines I've got
> here. I'll also try to push myself to dig further into this next week again.
> 
>> -Daniel
>>
>>> BR,
>>> Jani.
>>>


WARNING: multiple messages have this Message-ID (diff)
From: "Limonciello, Mario" <mario.limonciello@amd.com>
To: Lyude Paul <lyude@redhat.com>, Daniel Vetter <daniel@ffwll.ch>,
	Jani Nikula <jani.nikula@linux.intel.com>
Cc: dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
	Rodrigo Vivi <rodrigo.vivi@intel.com>,
	stable@vger.kernel.org, stanislav.lisovskiy@intel.com,
	Fangzhi Zuo <Jerry.Zuo@amd.com>,
	amd-gfx@lists.freedesktop.org, Wayne Lin <Wayne.Lin@amd.com>,
	Dave Airlie <airlied@gmail.com>,
	bskeggs@redhat.com
Subject: Re: [PATCH] Revert "drm/display/dp_mst: Move all payload info into the atomic state"
Date: Fri, 13 Jan 2023 13:45:31 -0600	[thread overview]
Message-ID: <dcf0612f-7d40-d607-e9aa-94599594e49f@amd.com> (raw)
In-Reply-To: <748aa93c23e6e4dd353054ea632a21c8017f8769.camel@redhat.com>

On 1/13/2023 13:28, Lyude Paul wrote:
> On Fri, 2023-01-13 at 11:25 +0100, Daniel Vetter wrote:
>> On Fri, Jan 13, 2023 at 12:16:57PM +0200, Jani Nikula wrote:
>>>
>>> Cc: intel-gfx, drm maintainers
>>>
>>> Please have the courtesy of Cc'ing us for changes impacting us, and
>>> maybe try to involve us earlier instead of surprising us like
>>> this. Looks like this has been debugged for at least three months, and
>>> the huge revert at this point is going to set us back with what's been
>>> developed on top of it for i915 DP MST and DSC.
>>
>> tbf I assumed this wont land when I've seen it fly by. It feels a bit much
>> like living under a rock for half a year and then creating a mess for
>> everyone else who's been building on top of this is not great.
>>
>> Like yes it's a regression, but apparently not a blantantly obvious one,
>> and I think if we just ram this in there's considerable community goodwill
>> down the drain. Someone needs to get that goodwill up the drain again.
>>
>>> It's a regression, I get that, but this is also going to be really nasty
>>> to deal with. It's a 2500-line commit, plus the dependencies, which I
>>> don't think are accounted for here. (What's the baseline for the revert
>>> anyway?) I don't expect all the dependent commits to be easy to revert
>>> or backport to v6.1 or v6.2.
>>>
>>> *sad trombone*
>>
>> Yeah that's the other thing. 2500 patch revert is not cc stable material.
>> So this isn't even really helping users all that much.
>>
>> Unless it also comes with full amounts of backports of the reverts on all
>> affected drivers for all curent stable trees, fully validated.

The silver lining here is that in terms of how many stable trees this is 
broken it's only 6.1.y.

Wayne's revert is against drm-tip.

I found that attempting backporting his revert I run into
conflicts in 6.2-rc3 because of:

831a277ef001 ("Revert "drm/i915: Extract drm_dp_atomic_find_vcpi_slots 
cycle to separate function"")

I worked through them and have the result here:
https://gitlab.freedesktop.org/superm1/linux/-/commit/8e926eb77c41e7f32f3d8943cdf7d140ed319b79

and conflicts in 6.1.y from the lack of:

8c7d980da9ba ("drm/nouveau/disp: move DP MST payload config method")

I worked through those as well and the result is here:

https://gitlab.freedesktop.org/superm1/linux/-/commit/2145b4de3fea9908cda6bef0693a797cc7f4ddfc

Affected people in Gitlab #2171 have tested amdgpu works w/ MST again 
with 6.1.5 with that applied.

To your point, we do need someone with the appropriate hardware to make 
sure we didn't make i915 or nouveau worse by this revert though.

>>
>> This is bad. I do think we need to have some understanding first of what
>> "fix this in amdgpu" would look like as plan B. Because plan A does not
>> look like a happy one at all.
> 
> Yeah this whole thing has been a mess, I'm partially to blame here - we should
> have reverted earlier, but a lot of this has been me finding out that the
> problem here is a lot bigger then I previously imagined - and has not at all
> been easy to untangle. I've also dumped so much time into trying to figure it
> out that was more or less the only reason I acked this in the first place, I'm
> literally just quite tired and exhausted at this point from spinning my wheels
> on trying to fix this ;_;.
> 
> I am sure there is a real proper fix for this, if anyone wants to help me try
> and figure this out I'm happy to setup remote access to the machines I've got
> here. I'll also try to push myself to dig further into this next week again.
> 
>> -Daniel
>>
>>> BR,
>>> Jani.
>>>


WARNING: multiple messages have this Message-ID (diff)
From: "Limonciello, Mario" <mario.limonciello@amd.com>
To: Lyude Paul <lyude@redhat.com>, Daniel Vetter <daniel@ffwll.ch>,
	Jani Nikula <jani.nikula@linux.intel.com>
Cc: Wayne Lin <Wayne.Lin@amd.com>,
	dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org,
	intel-gfx@lists.freedesktop.org, Dave Airlie <airlied@gmail.com>,
	stable@vger.kernel.org, stanislav.lisovskiy@intel.com,
	Fangzhi Zuo <Jerry.Zuo@amd.com>,
	bskeggs@redhat.com, Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: Re: [PATCH] Revert "drm/display/dp_mst: Move all payload info into the atomic state"
Date: Fri, 13 Jan 2023 13:45:31 -0600	[thread overview]
Message-ID: <dcf0612f-7d40-d607-e9aa-94599594e49f@amd.com> (raw)
In-Reply-To: <748aa93c23e6e4dd353054ea632a21c8017f8769.camel@redhat.com>

On 1/13/2023 13:28, Lyude Paul wrote:
> On Fri, 2023-01-13 at 11:25 +0100, Daniel Vetter wrote:
>> On Fri, Jan 13, 2023 at 12:16:57PM +0200, Jani Nikula wrote:
>>>
>>> Cc: intel-gfx, drm maintainers
>>>
>>> Please have the courtesy of Cc'ing us for changes impacting us, and
>>> maybe try to involve us earlier instead of surprising us like
>>> this. Looks like this has been debugged for at least three months, and
>>> the huge revert at this point is going to set us back with what's been
>>> developed on top of it for i915 DP MST and DSC.
>>
>> tbf I assumed this wont land when I've seen it fly by. It feels a bit much
>> like living under a rock for half a year and then creating a mess for
>> everyone else who's been building on top of this is not great.
>>
>> Like yes it's a regression, but apparently not a blantantly obvious one,
>> and I think if we just ram this in there's considerable community goodwill
>> down the drain. Someone needs to get that goodwill up the drain again.
>>
>>> It's a regression, I get that, but this is also going to be really nasty
>>> to deal with. It's a 2500-line commit, plus the dependencies, which I
>>> don't think are accounted for here. (What's the baseline for the revert
>>> anyway?) I don't expect all the dependent commits to be easy to revert
>>> or backport to v6.1 or v6.2.
>>>
>>> *sad trombone*
>>
>> Yeah that's the other thing. 2500 patch revert is not cc stable material.
>> So this isn't even really helping users all that much.
>>
>> Unless it also comes with full amounts of backports of the reverts on all
>> affected drivers for all curent stable trees, fully validated.

The silver lining here is that in terms of how many stable trees this is 
broken it's only 6.1.y.

Wayne's revert is against drm-tip.

I found that attempting backporting his revert I run into
conflicts in 6.2-rc3 because of:

831a277ef001 ("Revert "drm/i915: Extract drm_dp_atomic_find_vcpi_slots 
cycle to separate function"")

I worked through them and have the result here:
https://gitlab.freedesktop.org/superm1/linux/-/commit/8e926eb77c41e7f32f3d8943cdf7d140ed319b79

and conflicts in 6.1.y from the lack of:

8c7d980da9ba ("drm/nouveau/disp: move DP MST payload config method")

I worked through those as well and the result is here:

https://gitlab.freedesktop.org/superm1/linux/-/commit/2145b4de3fea9908cda6bef0693a797cc7f4ddfc

Affected people in Gitlab #2171 have tested amdgpu works w/ MST again 
with 6.1.5 with that applied.

To your point, we do need someone with the appropriate hardware to make 
sure we didn't make i915 or nouveau worse by this revert though.

>>
>> This is bad. I do think we need to have some understanding first of what
>> "fix this in amdgpu" would look like as plan B. Because plan A does not
>> look like a happy one at all.
> 
> Yeah this whole thing has been a mess, I'm partially to blame here - we should
> have reverted earlier, but a lot of this has been me finding out that the
> problem here is a lot bigger then I previously imagined - and has not at all
> been easy to untangle. I've also dumped so much time into trying to figure it
> out that was more or less the only reason I acked this in the first place, I'm
> literally just quite tired and exhausted at this point from spinning my wheels
> on trying to fix this ;_;.
> 
> I am sure there is a real proper fix for this, if anyone wants to help me try
> and figure this out I'm happy to setup remote access to the machines I've got
> here. I'll also try to push myself to dig further into this next week again.
> 
>> -Daniel
>>
>>> BR,
>>> Jani.
>>>


  reply	other threads:[~2023-01-13 19:45 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-12  8:50 [PATCH] Revert "drm/display/dp_mst: Move all payload info into the atomic state" Wayne Lin
2023-01-12  8:50 ` Wayne Lin
2023-01-12  8:50 ` Wayne Lin
2023-01-12 17:37 ` Limonciello, Mario
2023-01-12 17:37   ` Limonciello, Mario
2023-01-12 17:37   ` Limonciello, Mario
2023-01-12 21:16 ` Lyude Paul
2023-01-12 21:16   ` Lyude Paul
2023-01-12 21:16   ` Lyude Paul
2023-01-13 10:16 ` Jani Nikula
2023-01-13 10:16   ` Jani Nikula
2023-01-13 10:16   ` [Intel-gfx] " Jani Nikula
2023-01-13 10:25   ` Daniel Vetter
2023-01-13 10:25     ` Daniel Vetter
2023-01-13 10:25     ` Daniel Vetter
2023-01-13 10:25     ` [Intel-gfx] " Daniel Vetter
2023-01-13 16:19     ` Harry Wentland
2023-01-13 16:19       ` Harry Wentland
2023-01-13 16:19       ` [Intel-gfx] " Harry Wentland
2023-01-13 19:28     ` Lyude Paul
2023-01-13 19:28       ` Lyude Paul
2023-01-13 19:28       ` Lyude Paul
2023-01-13 19:28       ` [Intel-gfx] " Lyude Paul
2023-01-13 19:45       ` Limonciello, Mario [this message]
2023-01-13 19:45         ` Limonciello, Mario
2023-01-13 19:45         ` Limonciello, Mario
2023-01-13 19:45         ` [Intel-gfx] " Limonciello, Mario
2023-01-20 17:46 ` Guenter Roeck
2023-01-20 17:46   ` Guenter Roeck
2023-01-20 17:51   ` Limonciello, Mario
2023-01-20 17:51     ` Limonciello, Mario
2023-01-20 18:18     ` Guenter Roeck
2023-01-20 18:18       ` Guenter Roeck
2023-01-20 18:39       ` Limonciello, Mario
2023-01-20 18:39         ` Limonciello, Mario
2023-01-20 21:00         ` Guenter Roeck
2023-01-20 21:00           ` Guenter Roeck
2023-01-27  7:39     ` Greg KH
2023-01-27  7:39       ` Greg KH
2023-01-27  9:15       ` Linux kernel regression tracking (Thorsten Leemhuis)
2023-01-27  9:15         ` Linux kernel regression tracking (Thorsten Leemhuis)
2023-01-27 15:02         ` Limonciello, Mario
2023-01-27 15:02           ` Limonciello, Mario
2023-01-29 13:31           ` Greg KH
2023-02-01 19:43             ` Limonciello, Mario
2023-01-27 14:24       ` Hamza Mahfooz
2023-01-27 14:24         ` Hamza Mahfooz

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=dcf0612f-7d40-d607-e9aa-94599594e49f@amd.com \
    --to=mario.limonciello@amd.com \
    --cc=Jerry.Zuo@amd.com \
    --cc=Wayne.Lin@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=bskeggs@redhat.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=lyude@redhat.com \
    --cc=rodrigo.vivi@intel.com \
    --cc=stable@vger.kernel.org \
    --cc=stanislav.lisovskiy@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.