Commit 9a3a41df authored by Maarten Lankhorst's avatar Maarten Lankhorst

drm/i915: Fix for_each_intel_plane_mask definition

Using for_each_intel_plane_mask() fails because of an extra bracket,
remove the bracket so we can use it in the next commit.
Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191004113514.17064-3-maarten.lankhorst@linux.intel.comReviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
parent 86027e31
...@@ -350,7 +350,7 @@ enum phy_fia { ...@@ -350,7 +350,7 @@ enum phy_fia {
&(dev)->mode_config.plane_list, \ &(dev)->mode_config.plane_list, \
base.head) \ base.head) \
for_each_if((plane_mask) & \ for_each_if((plane_mask) & \
drm_plane_mask(&intel_plane->base))) drm_plane_mask(&intel_plane->base))
#define for_each_intel_plane_on_crtc(dev, intel_crtc, intel_plane) \ #define for_each_intel_plane_on_crtc(dev, intel_crtc, intel_plane) \
list_for_each_entry(intel_plane, \ list_for_each_entry(intel_plane, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment