Re: [PATCHv5 29/34] drm/arm/malidp: Make verify funcitons invocations independent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In the subject: s/funcitons/functions/

On Tue, 17 Dec 2019 15:50:15 +0100
Andrzej Pietrasiewicz <andrzej.p@xxxxxxxxxxxxx> wrote:

> This will make it easier to transition to generic afbc-aware helpers.
> 
> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@xxxxxxxxxxxxx>

Reviewed-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>

> ---
>  drivers/gpu/drm/arm/malidp_drv.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/arm/malidp_drv.c b/drivers/gpu/drm/arm/malidp_drv.c
> index 37d92a06318e..961e5a3f5b08 100644
> --- a/drivers/gpu/drm/arm/malidp_drv.c
> +++ b/drivers/gpu/drm/arm/malidp_drv.c
> @@ -362,10 +362,10 @@ static bool
>  malidp_verify_afbc_framebuffer(struct drm_device *dev, struct drm_file *file,
>  			       const struct drm_mode_fb_cmd2 *mode_cmd)
>  {
> -	if (malidp_verify_afbc_framebuffer_caps(dev, mode_cmd))
> -		return malidp_verify_afbc_framebuffer_size(dev, file, mode_cmd);
> +	if (!malidp_verify_afbc_framebuffer_caps(dev, mode_cmd))
> +		return false;
>  
> -	return false;
> +	return malidp_verify_afbc_framebuffer_size(dev, file, mode_cmd);
>  }
>  
>  static struct drm_framebuffer *

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



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux