---
name: "drm_mode_copy"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_mode_copy"
---

# drm\_mode\_copy(9)

copy the mode

## NAME

drm\_mode\_copy - copy the mode

## SYNOPSIS

**void drm\_mode\_copy(struct drm\_display\_mode \*** *dst***, const struct drm\_display\_mode \*** *src***);**

## ARGUMENTS

*dst*

mode to overwrite

*src*

mode to copy

## DESCRIPTION

Copy an existing mode into another mode, preserving the object id and list head of the destination mode.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
