Re: [PATCH v5 4/7] drm: sun4i: dsi: Add mode_set function
From: Jagan Teki <jagan@amarulasolutions.com>
Date: 2021-11-22 13:53:43
Also in:
dri-devel
From: Jagan Teki <jagan@amarulasolutions.com>
Date: 2021-11-22 13:53:43
Also in:
dri-devel
Hi Maxime, On Mon, Nov 22, 2021 at 6:58 PM Maxime Ripard [off-list ref] wrote:
On Mon, Nov 22, 2021 at 06:35:58PM +0530, Jagan Teki wrote:quoted
On Mon, Nov 22, 2021 at 3:38 PM Maxime Ripard [off-list ref] wrote:quoted
On Mon, Nov 22, 2021 at 12:22:20PM +0530, Jagan Teki wrote:quoted
Get the display mode settings via mode_set bridge function instead of explicitly de-reference.What's wrong with dereferencing the mode?Nothing wrong with dereferencing, however we have built-in API to that job.That's not an API though?
May be we can call it bridge or encoding function, I usually call these ops are API's.
It's perfectly valid to dereference the pointer in atomic_enable, and that patch would consume memory for no particular reason.
Again, I'm not pointing any mistake in dereference and certainly not understand about what memory consumption issue here. I'm doing it here since I'm doing it via mode_set in other drivers. No problem for me either way. Thanks, Jagan. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel