From: "Joshua Peisach" <jpeisach@ubuntu.com>
To: "Joshua Peisach" <jpeisach@ubuntu.com>,
<amd-gfx@lists.freedesktop.org>,
<dri-devel@lists.freedesktop.org>
Cc: "Alex Deucher" <alexander.deucher@amd.com>,
Christian König <christian.koenig@amd.com>
Subject: Re: [PATCH NEXT 1/2] drm/radeon/radeon_connectors: use struct drm_edid instead of struct edid
Date: Sat, 23 May 2026 10:39:47 -0400 [thread overview]
Message-ID: <DIQ4TW7HUOSA.2U038AIIZP1IW@ubuntu.com> (raw)
In-Reply-To: <20260523142748.50034-2-jpeisach@ubuntu.com>
On Sat May 23, 2026 at 10:27 AM EDT, Joshua Peisach wrote:
> @@ -280,19 +280,19 @@ static void radeon_connector_get_edid(struct drm_connector *connector)
> if ((dig->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT ||
> dig->dp_sink_type == CONNECTOR_OBJECT_ID_eDP) &&
> radeon_connector->ddc_bus->has_aux)
> - radeon_connector->edid = drm_get_edid(&radeon_connector->base,
> - &radeon_connector->ddc_bus->aux.ddc);
> + radeon_connector->edid = drm_edid_read_ddc(&radeon_connector->base,
> + &radeon_connector->ddc_bus->aux.ddc);
> else if (radeon_connector->ddc_bus)
> - radeon_connector->edid = drm_get_edid(&radeon_connector->base,
> - &radeon_connector->ddc_bus->adapter);
> + radeon_connector->edid = drm_edid_read_ddc(&radeon_connector->base,
> + &radeon_connector->ddc_bus->adapter);
> } else if (vga_switcheroo_handler_flags() & VGA_SWITCHEROO_CAN_SWITCH_DDC &&
> connector->connector_type == DRM_MODE_CONNECTOR_LVDS &&
> radeon_connector->ddc_bus) {
> - radeon_connector->edid = drm_get_edid_switcheroo(&radeon_connector->base,
> - &radeon_connector->ddc_bus->adapter);
> + radeon_connector->edid = drm_edid_read_switcheroo(&radeon_connector->base,
> + &radeon_connector->ddc_bus->adapter);
> } else if (radeon_connector->ddc_bus) {
> - radeon_connector->edid = drm_get_edid(&radeon_connector->base,
> - &radeon_connector->ddc_bus->adapter);
> + radeon_connector->edid = drm_edid_read_ddc(&radeon_connector->base,
> + &radeon_connector->ddc_bus->adapter);
> }
>
Question: For all of these, should we actually call with connector
instead of &radeon_connector->base?
next prev parent reply other threads:[~2026-05-23 14:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-23 14:27 [PATCH NEXT 0/2] drm/radeon/radeon_connectors: use struct drm_edid Joshua Peisach
2026-05-23 14:27 ` [PATCH NEXT 1/2] drm/radeon/radeon_connectors: use struct drm_edid instead of struct edid Joshua Peisach
2026-05-23 14:39 ` Joshua Peisach [this message]
2026-05-25 7:37 ` Claude review: " Claude Code Review Bot
2026-05-23 14:27 ` [PATCH NEXT 2/2] drm/radeon/radeon_connectors: remove radeon_connector_free_edid Joshua Peisach
2026-05-25 7:37 ` Claude review: " Claude Code Review Bot
2026-05-25 7:37 ` Claude review: drm/radeon/radeon_connectors: use struct drm_edid Claude Code Review Bot
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=DIQ4TW7HUOSA.2U038AIIZP1IW@ubuntu.com \
--to=jpeisach@ubuntu.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
/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