Re: [PATCH] drm/atomic-helper: Use bitwise or for filling a bitmask

2018-06-15 Thread Eric Anholt
Ville Syrjala writes: > From: Ville Syrjälä > > Using += to set the bits in a mask looks funny. It works in this case > because we never set the same bit twice. But let's switch to |= to > make this look more regular. Reviewed-by: Eric Anholt signature.asc Description: PGP signature

[PATCH] drm/atomic-helper: Use bitwise or for filling a bitmask

2018-06-15 Thread Ville Syrjala
From: Ville Syrjälä Using += to set the bits in a mask looks funny. It works in this case because we never set the same bit twice. But let's switch to |= to make this look more regular. Cc: Maarten Lankhorst Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_atomic_helper.c | 2 +- 1 file c