On 14/03/17 22:35, Jyri Sarha wrote:
> Rename possible_crtcs local variable to possible_crtcs_for_planes in
> omap_modeset_init() and add a comment about its initialization. This
> is to make it more explicit what the variable is used for.
> 
> Signed-off-by: Jyri Sarha <jsa...@ti.com>
> ---
>  drivers/gpu/drm/omapdrm/omap_drv.c | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c 
> b/drivers/gpu/drm/omapdrm/omap_drv.c
> index 17c40aa..3d30f29 100644
> --- a/drivers/gpu/drm/omapdrm/omap_drv.c
> +++ b/drivers/gpu/drm/omapdrm/omap_drv.c
> @@ -320,7 +320,7 @@ static int omap_modeset_init(struct drm_device *dev)
>       int num_crtcs = 0;
>       int i, id = 0;
>       int ret;
> -     u32 possible_crtcs;
> +     u32 possible_crtcs_for_planes;

Maybe "crtc_mask"?

 Tomi

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to