summaryrefslogtreecommitdiff
path: root/include/drm/drm_connector.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2018-06-26 22:47:09 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2018-07-02 18:45:55 +0300
commit6f3be036da5cf6b192966ebea250cf9c8b1fd4a0 (patch)
tree71b002ba15b737494b455b45c07ceca6923360fb /include/drm/drm_connector.h
parent6a52193bd0dd683607793bea0caf6be94b32b333 (diff)
drm: Add drm_encoder_mask()
Add drm_encoder_mask() which returns the 1<<index for the encoder. We already have an identical drm_crtc_mask() for crtcs. Mostly performed with coccinelle: @@ @@ - (1<<drm_encoder_index( + drm_encoder_mask( ...) - ) @@ @@ - 1<<drm_encoder_index( + drm_encoder_mask( ...) @@ @@ - BIT(drm_encoder_index( + drm_encoder_mask( ...) - ) Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180626194716.12522-3-ville.syrjala@linux.intel.com Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/drm/drm_connector.h')
0 files changed, 0 insertions, 0 deletions