From: Gustavo Padovan <gustavo@padovan.org>
To: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Cc: linux-samsung-soc@vger.kernel.org,
Gustavo Padovan <gustavo.padovan@collabora.co.uk>,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 1/3] drm/exynos: mixer: add 2x scaling to mixer_graph_buffer
Date: Fri, 27 Mar 2015 10:11:51 -0300 [thread overview]
Message-ID: <20150327131151.GA15911@joana> (raw)
In-Reply-To: <55149475.1090900@math.uni-bielefeld.de>
Hi Tobias,
2015-03-27 Tobias Jakobi <tjakobi@math.uni-bielefeld.de>:
> Hello!
>
>
> Gustavo Padovan wrote:
> > I would keep calling these two vars x_ratio and y_ratio. I don't see a reason
> > to change the name here.
> Right, I'm going to change this. Also I was thinking of basing the patch
> on your latest cleanup series (the 'drm/exynos: remove struct *_win_data
> abstraction on planes' one).
If you can rebase this in on top of my series this would be really good.
>
> Then it would just be:
> static int mixer_setup_scale(const struct exynos_drm_plane *plane,
> unsigned int *x_ratio, unsigned int *y_ratio)
>
> Also that would automatically fix your other comment below [*].
>
>
> > Use EPERM or ENOTSUPP. Or even true/false.
> Will do!
>
>
> > You need to fix style here
> >
> > if (mixer_setup_scale(win_data->src_width, win_data->src_height,
> > win_data->crtc_width, win_data->crtc_height,
> > &x_ratio, &y_ratio))
> > return;
> With [*] this would just be:
> if (mixer_setup_scale(plane, &x_ratio, &y_ratio)) return;
>
> What do you think?
Changes sounds good to me. Please go ahead and send a new patch. :)
Gustavo
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2015-03-27 13:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-25 23:17 [PATCH 1/3] drm/exynos: mixer: add 2x scaling to mixer_graph_buffer Tobias Jakobi
2015-03-26 14:26 ` Gustavo Padovan
2015-03-26 23:21 ` Tobias Jakobi
2015-03-27 13:11 ` Gustavo Padovan [this message]
2015-04-01 13:34 ` Tobias Jakobi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150327131151.GA15911@joana \
--to=gustavo@padovan.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=gustavo.padovan@collabora.co.uk \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=tjakobi@math.uni-bielefeld.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox