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

Ville Syrjälä ville.syrjala at linux.intel.com
Wed Feb 19 21:18:03 UTC 2020


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


More information about the dri-devel mailing list