---
name: "drm_mode_vrefresh"
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_vrefresh"
---

# drm\_mode\_vrefresh(9)

get the vrefresh of a mode

## NAME

drm\_mode\_vrefresh - get the vrefresh of a mode

## SYNOPSIS

**int drm\_mode\_vrefresh(const struct drm\_display\_mode \*** *mode***);**

## ARGUMENTS

*mode*

mode

## RETURNS

*modes*'s vrefresh rate in Hz, rounded to the nearest integer. Calculates the value first if it is not yet set.

## 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
