RE: [PATCH v2 09/12] intel-ipu3: css hardware setup

2017-10-10 Thread Zhi, Yong
a Mailing List me...@vger.kernel.org>; sakari.ai...@linux.intel.com; Zheng, Jian Xu > ; Tomasz Figa ; Mani, > Rajmohan ; Toivonen, Tuukka > > Subject: Re: [PATCH v2 09/12] intel-ipu3: css hardware setup > > On Sat, Jun 17, 2017 at 9:43 PM, Sakari Ailus wrote: > > On Sat, Jun

Re: [PATCH v2 09/12] intel-ipu3: css hardware setup

2017-06-17 Thread Andy Shevchenko
On Sat, Jun 17, 2017 at 9:43 PM, Sakari Ailus wrote: > On Sat, Jun 17, 2017 at 01:54:51AM +0300, Andy Shevchenko wrote: >> On Thu, Jun 15, 2017 at 1:19 AM, Yong Zhi wrote: >> > +static void writes(void *mem, ssize_t len, void __iomem *reg) >> > +{ >> > + while (len >= 4) { >> > +

Re: [PATCH v2 09/12] intel-ipu3: css hardware setup

2017-06-17 Thread Sakari Ailus
On Sat, Jun 17, 2017 at 01:54:51AM +0300, Andy Shevchenko wrote: > On Thu, Jun 15, 2017 at 1:19 AM, Yong Zhi wrote: > > Commit message. > > > Signed-off-by: Yong Zhi > > > +static void writes(void *mem, ssize_t len, void __iomem *reg) > > +{ > > + while (len >= 4) { > > + w

Re: [PATCH v2 09/12] intel-ipu3: css hardware setup

2017-06-16 Thread Andy Shevchenko
On Thu, Jun 15, 2017 at 1:19 AM, Yong Zhi wrote: Commit message. > Signed-off-by: Yong Zhi > +static void writes(void *mem, ssize_t len, void __iomem *reg) > +{ > + while (len >= 4) { > + writel(*(u32 *)mem, reg); > + mem += 4; > + reg += 4; > +

[PATCH v2 09/12] intel-ipu3: css hardware setup

2017-06-14 Thread Yong Zhi
Signed-off-by: Yong Zhi --- drivers/media/pci/intel/ipu3/ipu3-css.c | 515 drivers/media/pci/intel/ipu3/ipu3-css.h | 5 + 2 files changed, 520 insertions(+) create mode 100644 drivers/media/pci/intel/ipu3/ipu3-css.c diff --git a/drivers/media/pci/intel/ipu3/ip