summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-02-18 13:03:42 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-03-14 18:36:59 +0300
commit2d3eec8970335148278a6e350bc4840374f06471 (patch)
tree3b7c51954ad57b43bca092091ce6493176f7fd1c /drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
parentb861de246912e10c5bda32cb100bff429a5e1ec4 (diff)
downloadlinux-2d3eec8970335148278a6e350bc4840374f06471.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/bridge/synopsys/dw-hdmi.c')
0 files changed, 0 insertions, 0 deletions