From: Greg KH <gregkh@linuxfoundation.org>
To: tiancyin <tianci.yin@amd.com>
Cc: stable@vger.kernel.org,
Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>,
Harry Wentland <harry.wentland@amd.com>,
Aurabindo Pillai <aurabindo.pillai@amd.com>,
Alex Deucher <alexander.deucher@amd.com>
Subject: Re: [PATCH 6.1.y 01/10] drm/amd/display: Handle virtual hardware detect
Date: Mon, 7 Aug 2023 07:51:15 +0200 [thread overview]
Message-ID: <2023080752-crazy-cider-ef9e@gregkh> (raw)
In-Reply-To: <20230807022055.2798020-1-tianci.yin@amd.com>
On Mon, Aug 07, 2023 at 10:20:46AM +0800, tiancyin wrote:
> From: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
>
> If virtual hardware is detected, there is no reason to run the full
> dc_commit_streams process, and DC can return true immediately.
>
> Reviewed-by: Harry Wentland <harry.wentland@amd.com>
> Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
> Co-developed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> ---
> drivers/gpu/drm/amd/display/dc/core/dc.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
> index 8f9c60ed6f8b..9b7ddd0e10a5 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
> @@ -1942,6 +1942,9 @@ enum dc_status dc_commit_streams(struct dc *dc,
> struct pipe_ctx *pipe;
> bool handle_exit_odm2to1 = false;
>
> + if (dc->ctx->dce_environment == DCE_ENV_VIRTUAL_HW)
> + return res;
> +
> if (!streams_changed(dc, streams, stream_count))
> return res;
>
> --
> 2.34.1
>
For this whole series:
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.
</formletter>
Please fix up and resend.
next prev parent reply other threads:[~2023-08-07 5:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-07 2:20 [PATCH 6.1.y 01/10] drm/amd/display: Handle virtual hardware detect tiancyin
2023-08-07 2:20 ` [PATCH 6.1.y 02/10] drm/amd/display: Add function for validate and update new stream tiancyin
2023-08-07 2:20 ` [PATCH 6.1.y 03/10] drm/amd/display: Handle seamless boot stream tiancyin
2023-08-07 2:20 ` [PATCH 6.1.y 04/10] drm/amd/display: Update OTG instance in the commit stream tiancyin
2023-08-07 2:20 ` [PATCH 6.1.y 05/10] drm/amd/display: Avoid ABM when ODM combine is enabled for eDP tiancyin
2023-08-07 2:20 ` [PATCH 6.1.y 06/10] drm/amd/display: Use update plane and stream routine for DCN32x tiancyin
2023-08-07 2:20 ` [PATCH 6.1.y 07/10] Revert "Revert "drm/amdgpu: use dirty framebuffer helper"" tiancyin
2023-08-07 2:20 ` [PATCH 6.1.y 08/10] drm/amd/display: Disable phantom OTG after enable for plane disable tiancyin
2023-08-07 2:20 ` [PATCH 6.1.y 09/10] drm/amd/display: Retain phantom plane/stream if validation fails tiancyin
2023-08-07 2:20 ` [PATCH 6.1.y 10/10] Revert "drm/amd/display: Remove Phantom Pipe Check When Calculating K1 and K2" tiancyin
2023-08-07 5:51 ` Greg KH [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-08-11 21:06 [PATCH 6.1.y 00/10] Fixups for some navi3x hangs Mario Limonciello
2023-08-11 21:06 ` [PATCH 6.1.y 01/10] drm/amd/display: Handle virtual hardware detect Mario Limonciello
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=2023080752-crazy-cider-ef9e@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=Rodrigo.Siqueira@amd.com \
--cc=alexander.deucher@amd.com \
--cc=aurabindo.pillai@amd.com \
--cc=harry.wentland@amd.com \
--cc=stable@vger.kernel.org \
--cc=tianci.yin@amd.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).