On Fri, Mar 28, 2025 at 12:28:14PM +0200, Jani Nikula wrote:
On Fri, 28 Mar 2025, Yongbang Shi <shiyongbang@xxxxxxxxxx> wrote:I don't either, but it looks suspicious to me. devm_kasprintf will be
Maybe. I don't have the time to look into hibmc details.On Thu, 27 Mar 2025, Yongbang Shi <shiyongbang@xxxxxxxxxx> wrote:Hi Jani,
在 2025/3/26 17:32, Jani Nikula 写道:This is in the link you posted:
On Tue, 25 Mar 2025, Yongbang Shi <shiyongbang@xxxxxxxxxx> wrote:Thanks for for reminding me, actually the dp->aux.name was written because I misunderstood what you meant in V7,
Thanks.On Mon, 24 Mar 2025, Yongbang Shi <shiyongbang@xxxxxxxxxx> wrote:Here's the link: https://lore.kernel.org/all/20250320101455.2538835-1-shiyongbang@xxxxxxxxxx/
I never received that for whatever reason.On Wed, 19 Mar 2025, Yongbang Shi <shiyongbang@xxxxxxxxxx> wrote:Hi Jani,
From: Baihan Li <libaihan@xxxxxxxxxx>I don't understand this, and I did not suggest such a thing.
Add registering drm_aux and use it to get connector edid with drm
functions. Add ddc channel in connector initialization to put drm_aux
in drm_connector.
Signed-off-by: Baihan Li <libaihan@xxxxxxxxxx>
Signed-off-by: Yongbang Shi <shiyongbang@xxxxxxxxxx>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
---
ChangeLog:
v6 -> v7:
- add if statement about drm aux in hibmc_dp_connector_get_modes(), suggested by Jani Nikula
BR,
Jani.
Is the modification of v8 correct?
The EDID handling looks fine.
AFAICT you leak dp->aux.name though.
BR,
Jani.
and I deleted it in V8.
+ dp->aux.name = kasprintf(GFP_KERNEL, "HIBMC DRM dp aux");
I got it. I think I can change it to devm_kasprintf() in next bug fix patch, is that ok?
freed when the device will be removed, but the DP Aux bus is probably
staying for a bit longer?
Maxime