Re: [PATCH] [media] s5p-mfc: Align stream buffer and CPB buffer to 512

2017-01-31 Thread Smitha T Murthy
On Wed, 2017-01-18 at 15:37 +0100, Andrzej Hajda wrote: > Hi Smitha, > > On 18.01.2017 10:37, Smitha T Murthy wrote: > > >From MFCv6 onwards encoder stream buffer and decoder CPB buffer > > Unexpected char at the beginning. > > > need to be aligned with 512. > > Patch below adds checks only if

Re: [PATCH] [media] s5p-mfc: Align stream buffer and CPB buffer to 512

2017-01-18 Thread Andrzej Hajda
Hi Smitha, On 18.01.2017 10:37, Smitha T Murthy wrote: > >From MFCv6 onwards encoder stream buffer and decoder CPB buffer Unexpected char at the beginning. > need to be aligned with 512. Patch below adds checks only if buffer size is multiple of 512, am I right? If yes, please precise the subje

[PATCH] [media] s5p-mfc: Align stream buffer and CPB buffer to 512

2017-01-18 Thread Smitha T Murthy
>From MFCv6 onwards encoder stream buffer and decoder CPB buffer need to be aligned with 512. Signed-off-by: Smitha T Murthy --- drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c |9 + drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.h |3 +++ 2 files changed, 12 insertions(+), 0 dele