Home
last modified time | relevance | path

Searched hist:"6 f3be036da5cf6b192966ebea250cf9c8b1fd4a0" (Results 1 – 2 of 2) sorted by relevance

/linux/include/drm/
H A Ddrm_encoder.hdiff 6f3be036da5cf6b192966ebea250cf9c8b1fd4a0 Tue Jun 26 21:47:09 CEST 2018 Ville Syrjälä <ville.syrjala@linux.intel.com> 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>
/linux/drivers/gpu/drm/
H A Ddrm_atomic_helper.cdiff 6f3be036da5cf6b192966ebea250cf9c8b1fd4a0 Tue Jun 26 21:47:09 CEST 2018 Ville Syrjälä <ville.syrjala@linux.intel.com> 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>