All of lore.kernel.org
 help / color / mirror / Atom feed
From: Harry Wentland <harry.wentland@amd.com>
To: Roman.Li@amd.com, amd-gfx@lists.freedesktop.org,
	Alexander.Deucher@amd.com, nicholas.kazlauskas@amd.com
Subject: Re: [PATCH 1/2] drm/amd/display: Disable dmcu fw loading for dcn314
Date: Tue, 19 Jul 2022 15:02:51 -0400	[thread overview]
Message-ID: <93897c67-75a6-1a40-c6c3-16104fe8997b@amd.com> (raw)
In-Reply-To: <20220719182646.23049-1-Roman.Li@amd.com>

On 2022-07-19 14:26, Roman.Li@amd.com wrote:
> From: Roman Li <roman.li@amd.com>
> 
> [Why]
> DCN 3.1.4 uses dmub not dmcu. Attempt to identify
> dmcu firmware for dcn314 results in dm init error:
> "Unsupported ASIC type"
> 
> [How]
> Add dcn314 to the list of asics that don't require dmcu
> 
> Signed-off-by: Roman Li <roman.li@amd.com>

Reviewed-by: Harry Wentland <harry.wentland@amd.com>

Might be easier going forward if we simply return 0 in the
outside case statement instead of explicitly calling out
IPs that don't support DMCU. The default (any new ASIC) won't
support DMCU.

Harry

> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index dae998e014b0..9fff5aa86567 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -1893,6 +1893,7 @@ static int load_dmcu_fw(struct amdgpu_device *adev)
>  		case IP_VERSION(3, 0, 1):
>  		case IP_VERSION(3, 1, 2):
>  		case IP_VERSION(3, 1, 3):
> +		case IP_VERSION(3, 1, 4):
>  		case IP_VERSION(3, 1, 5):
>  		case IP_VERSION(3, 1, 6):
>  		case IP_VERSION(3, 2, 0):


      parent reply	other threads:[~2022-07-19 19:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-19 18:26 [PATCH 1/2] drm/amd/display: Disable dmcu fw loading for dcn314 Roman.Li
2022-07-19 18:26 ` [PATCH 2/2] drm/amdgpu: add dm ip block for dcn 3.1.4 Roman.Li
2022-07-19 18:31   ` Alex Deucher
2022-07-19 19:02 ` Harry Wentland [this message]

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=93897c67-75a6-1a40-c6c3-16104fe8997b@amd.com \
    --to=harry.wentland@amd.com \
    --cc=Alexander.Deucher@amd.com \
    --cc=Roman.Li@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=nicholas.kazlauskas@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 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.