---
name: "drm_helper_encoder_in_use"
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_helper_encoder_in_use"
---

# drm\_helper\_encoder\_in\_use(9)

check if a given encoder is in use

## NAME

drm\_helper\_encoder\_in\_use - check if a given encoder is in use

## SYNOPSIS

**bool drm\_helper\_encoder\_in\_use(struct drm\_encoder \*** *encoder***);**

## ARGUMENTS

*encoder*

encoder to check

## DESCRIPTION

Checks whether *encoder* is with the current mode setting output configuration in use by any connector. This doesn't mean that it is actually enabled since the DPMS state is tracked separately.

## RETURNS

True if *encoder* is used, false otherwise.

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