From: Jani Nikula <jani.nikula@linux.intel.com>
To: Melissa Wen <mwen@igalia.com>,
harry.wentland@amd.com, sunpeng.li@amd.com,
alexander.deucher@amd.com, christian.koenig@amd.com,
airlied@gmail.com, simona@ffwll.ch
Cc: amd-gfx@lists.freedesktop.org, Alex Hung <alex.hung@amd.com>,
Mario Limonciello <mario.limonciello@amd.com>,
Rodrigo Siqueira <siqueira@igalia.com>,
Michel Daenzer <michel.daenzer@mailbox.org>,
dri-devel@lists.freedesktop.org, kernel-dev@igalia.com
Subject: Re: [PATCH v2 13/14] drm/amd/display: add drm_edid to dc_sink
Date: Thu, 08 May 2025 14:50:29 +0300 [thread overview]
Message-ID: <87jz6rtj7e.fsf@intel.com> (raw)
In-Reply-To: <20250507001712.120215-14-mwen@igalia.com>
On Tue, 06 May 2025, Melissa Wen <mwen@igalia.com> wrote:
> diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
> index c93e074ea736..54f6ed33e373 100644
> --- a/drivers/gpu/drm/amd/display/dc/dc.h
> +++ b/drivers/gpu/drm/amd/display/dc/dc.h
> @@ -46,6 +46,8 @@
>
> #include "dmub/inc/dmub_cmd.h"
>
> +#include <drm/drm_edid.h>
> +
Completely up to AMD maintainers, but in code I maintain I'd request
using a forward declaration instead of an include if you only need a
struct pointer. The header interdependencies just add up.
BR,
Jani.
> struct abm_save_restore;
>
> /* forward declaration */
> @@ -2433,6 +2435,7 @@ struct scdc_caps {
> struct dc_sink {
> enum signal_type sink_signal;
> struct dc_edid dc_edid; /* raw edid */
> + const struct drm_edid *drm_edid; /* Linux DRM edid*/
> struct dc_edid_caps edid_caps; /* parse display caps */
> struct dc_container_id *dc_container_id;
> uint32_t dongle_max_pix_clk;
--
Jani Nikula, Intel
next prev parent reply other threads:[~2025-05-08 11:50 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-07 0:03 [PATCH v2 00/14] drm/amd/display: more drm_edid to AMD display driver Melissa Wen
2025-05-07 0:03 ` [PATCH v2 01/14] drm/amd/display: make sure drm_edid stored in aconnector doesn't leak Melissa Wen
2025-05-07 0:03 ` [PATCH v2 02/14] drm/amd/display: start using drm_edid helpers to parse EDID caps Melissa Wen
2025-05-07 0:03 ` [PATCH v2 03/14] drm/amd/display: use drm_edid_product_id for parsing EDID product info Melissa Wen
2025-05-07 0:03 ` [PATCH v2 04/14] drm/edid: introduce a helper that gets monitor name from drm_edid Melissa Wen
2025-05-08 11:39 ` Jani Nikula
2025-05-13 21:42 ` Melissa Wen
2025-05-07 0:03 ` [PATCH v2 05/14] drm/amd/display: get panel id with drm_edid helper Melissa Wen
2025-05-07 0:04 ` [PATCH v2 06/14] drm/amd/display: get SAD from drm_eld when parsing EDID caps Melissa Wen
2025-05-07 0:04 ` [PATCH v2 07/14] drm/amd/display: get SADB " Melissa Wen
2025-05-07 0:04 ` [PATCH v2 08/14] drm/amd/display: simplify dm_helpers_parse_edid_caps signature Melissa Wen
2025-05-07 0:04 ` [PATCH v2 09/14] drm/amd/display: change DC functions to accept private types for edid Melissa Wen
2025-05-07 0:04 ` [PATCH v2 10/14] drm/amd/display: add a mid-layer file to handle EDID in DC Melissa Wen
2025-05-07 0:04 ` [PATCH v2 11/14] drm/amd/display: create a function to fill dc_sink with edid data Melissa Wen
2025-05-08 11:41 ` Jani Nikula
2025-05-07 0:04 ` [PATCH v2 12/14] drm/edid: introduce a helper that compares edid data from two drm_edid Melissa Wen
2025-05-08 11:47 ` Jani Nikula
2025-05-13 21:45 ` Melissa Wen
2025-05-07 0:04 ` [PATCH v2 13/14] drm/amd/display: add drm_edid to dc_sink Melissa Wen
2025-05-08 11:50 ` Jani Nikula [this message]
2025-05-07 0:04 ` [PATCH v2 14/14] drm/amd/display: move dc_sink from dc_edid to drm_edid Melissa Wen
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=87jz6rtj7e.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=airlied@gmail.com \
--cc=alex.hung@amd.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=harry.wentland@amd.com \
--cc=kernel-dev@igalia.com \
--cc=mario.limonciello@amd.com \
--cc=michel.daenzer@mailbox.org \
--cc=mwen@igalia.com \
--cc=simona@ffwll.ch \
--cc=siqueira@igalia.com \
--cc=sunpeng.li@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