Ville Syrjälä 2d3eec8970 drm: Add drm_mode_init()
Add a variant of drm_mode_copy() that explicitly clears out
the list head of the destination mode. Helpful to guarantee
we don't have stack garbage left in there for on-stack modes.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220218100403.7028-2-ville.syrjala@linux.intel.com
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
2022-03-14 17:36:59 +02:00
..
2022-01-12 11:27:57 -08:00
2022-01-23 06:20:44 +02:00
2022-03-14 17:36:59 +02:00
2022-01-16 16:15:14 +02:00
2022-02-01 19:02:41 +10:00
2022-01-10 14:33:42 +01:00
2022-01-28 19:30:35 +02:00
2022-01-12 16:42:00 -08:00