Re: [Intel-gfx] [PATCH v2 12/13] drm/i915: Rename the confusing 'plane_id' to 'color_plane'

2018-11-26 Thread Matt Roper
On Wed, Nov 14, 2018 at 11:07:28PM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > A variable whose name is 'plane_id' is expected to be of the > enum plane_id type. In this case we have a raw int, which turns > out to refer to the plane of the framebuffer. Rename the variable > to

[Intel-gfx] [PATCH v2 12/13] drm/i915: Rename the confusing 'plane_id' to 'color_plane'

2018-11-14 Thread Ville Syrjala
From: Ville Syrjälä A variable whose name is 'plane_id' is expected to be of the enum plane_id type. In this case we have a raw int, which turns out to refer to the plane of the framebuffer. Rename the variable to 'color_plane' in line with the trend started earlier. Signed-off-by: Ville