Re: [PATCH 00/12] drm: Put drm_display_mode on diet

Ville Syrjälä
2020-02-19T21:18:08Z

On Wed, Feb 19, 2020 at 10:35:32PM +0200, Ville Syrjala wrote:
> - Eliminate the second list head somehow?

I think we could just convert that to a boolean, or even just
borrow eg. the one totally free mode->type bit for our internal
use to tag the exposed modes. That would in fact get us down
to 120 bytes on 64bit machines (and 112 bytes on 32bit).
The downside would be one extra loop over the modes in the
getconnector ioctl to clear the stale tags.

--
Ville Syrjälä
Intel