Re: Allocation of frame buffer at a specific memory range or address

2016-04-15 Thread Vineet Gupta
On Friday 15 April 2016 09:18 PM, Alexey Brodkin wrote: > And now the question is how to force DRM subsystem or just that driver > to use whatever predefined (say via device tree) location in memory > for data buffer allocation. It seems this is pretty easy to do with DT reserved-memory binding.

Re: [PATCH v3] clk/axs10x: Add I2S PLL clock driver

2016-04-15 Thread Stephen Boyd
On 04/04, Jose Abreu wrote: > >> + fbdiv = i2s_pll_get_value(readl((void *)PLL_FBDIV_ADDR)); > >> + odiv = i2s_pll_get_value(readl((void *)PLL_ODIV0_ADDR)); > >> + > >> + return (((clk->ref_clk / idiv ) * fbdiv) / odiv); > > Again, too many parentheses. Also, any concerns of 32-bit > > truncatio

Re: [RESEND PATCH v4] clk/axs10x: Add I2S PLL clock driver

2016-04-15 Thread Stephen Boyd
On 04/11, Jose Abreu wrote: > new file mode 100644 > index 000..3ba4e2f > --- /dev/null > +++ b/drivers/clk/axs10x/i2s_pll_clock.c > @@ -0,0 +1,217 @@ > + > +static int i2s_pll_clk_probe(struct platform_device *pdev) > +{ > + struct device *dev = &pdev->dev; > + struct device_node *node

Re: [RESEND PATCH v4] clk/axs10x: Add I2S PLL clock driver

2016-04-15 Thread sb...@codeaurora.org
On 04/15, Alexey Brodkin wrote: > Hi Stephen, > > On Mon, 2016-04-11 at 15:03 -0700, sb...@codeaurora.org wrote: > > On 04/11, Alexey Brodkin wrote: > > > > > > On Mon, 2016-04-11 at 11:41 +0100, Jose Abreu wrote: > > > > > > > > + * warranty of any kind, whether express or implied. > > > > + */

Re: Allocation of frame buffer at a specific memory range or address

2016-04-15 Thread Daniel Vetter
On Fri, Apr 15, 2016 at 5:48 PM, Alexey Brodkin wrote: > Hello, > > I'm wondering if there's a way to force kernel to allocate backing > memory for frame buffer in a special location? > > A little bit of background below. > I continue to work on DRM driver for ARC PGU, latest > is v5 and available

Allocation of frame buffer at a specific memory range or address

2016-04-15 Thread Alexey Brodkin
Hello, I'm wondering if there's a way to force kernel to allocate backing memory for frame buffer in a special location? A little bit of background below. I continue to work on DRM driver for ARC PGU, latest is v5 and available here - https://lkml.org/lkml/2016/3/28/170 In current state everythi

Re: [RESEND PATCH v4] clk/axs10x: Add I2S PLL clock driver

2016-04-15 Thread Alexey Brodkin
Hi Stephen, On Mon, 2016-04-11 at 15:03 -0700, sb...@codeaurora.org wrote: > On 04/11, Alexey Brodkin wrote: > > > > On Mon, 2016-04-11 at 11:41 +0100, Jose Abreu wrote: > > > > > > + * warranty of any kind, whether express or implied. > > > + */ > > > + > > > +#include > > > +#include > > > +