On Mon, Nov 22, 2021 at 06:35:58PM +0530, Jagan Teki wrote:
On Mon, Nov 22, 2021 at 3:38 PM Maxime Ripard maxime@cerno.tech wrote:
On Mon, Nov 22, 2021 at 12:22:20PM +0530, Jagan Teki wrote:
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?
It's perfectly valid to dereference the pointer in atomic_enable, and that patch would consume memory for no particular reason.
Maxime