[PATCH 3/3] drm/exynos: mixer: add 2x scaling to mixer_graph_buffer
Emil Velikov
emil.l.velikov at gmail.com
Sun Apr 5 09:40:08 PDT 2015
Hi Tobias,
On 1 April 2015 at 14:29, Tobias Jakobi <tjakobi at math.uni-bielefeld.de> wrote:
> diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/exynos_mixer.c
> index 5ab0e32..6822b36 100644
> --- a/drivers/gpu/drm/exynos/exynos_mixer.c
> +++ b/drivers/gpu/drm/exynos/exynos_mixer.c
> @@ -528,9 +552,8 @@ static void mixer_graph_buffer(struct mixer_context *ctx, int win)
> fmt = ARGB8888;
> }
>
> - /* 2x scaling feature */
> - x_ratio = 0;
> - y_ratio = 0;
> + /* check if mixer supports requested scaling setup */
> + if (mixer_setup_scale(plane, &x_ratio, &y_ratio)) return;
>
Having return on the same line as the if statement will make
checkpatch.pl unhappy :-(
Cheers
Emil
More information about the dri-devel
mailing list