* [PATCH] exynos-gsc: Add missing video device vfl_dir flag initialization
@ 2012-11-10 22:57 Sylwester Nawrocki
2012-11-19 20:06 ` Sylwester Nawrocki
0 siblings, 1 reply; 3+ messages in thread
From: Sylwester Nawrocki @ 2012-11-10 22:57 UTC (permalink / raw)
To: linux-media; +Cc: sw0312.kim, Sylwester Nawrocki, Shaik Ameer Basha
vfl_dir should be set to VFL_DIR_M2M so valid ioctls for this
mem-to-mem device can be properly determined in the v4l2 core.
Cc: Shaik Ameer Basha <shaik.ameer@samsung.com>
Signed-off-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
---
I didn't run-time test this patch.
drivers/media/platform/exynos-gsc/gsc-m2m.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/media/platform/exynos-gsc/gsc-m2m.c b/drivers/media/platform/exynos-gsc/gsc-m2m.c
index 3c7f005..88642a8 100644
--- a/drivers/media/platform/exynos-gsc/gsc-m2m.c
+++ b/drivers/media/platform/exynos-gsc/gsc-m2m.c
@@ -732,6 +732,7 @@ int gsc_register_m2m_device(struct gsc_dev *gsc)
gsc->vdev.ioctl_ops = &gsc_m2m_ioctl_ops;
gsc->vdev.release = video_device_release_empty;
gsc->vdev.lock = &gsc->lock;
+ gsc->vdev.vfl_dir = VFL_DIR_M2M;
snprintf(gsc->vdev.name, sizeof(gsc->vdev.name), "%s.%d:m2m",
GSC_MODULE_NAME, gsc->id);
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] exynos-gsc: Add missing video device vfl_dir flag initialization
2012-11-10 22:57 [PATCH] exynos-gsc: Add missing video device vfl_dir flag initialization Sylwester Nawrocki
@ 2012-11-19 20:06 ` Sylwester Nawrocki
2012-11-21 11:59 ` Shaik Ameer Basha
0 siblings, 1 reply; 3+ messages in thread
From: Sylwester Nawrocki @ 2012-11-19 20:06 UTC (permalink / raw)
To: Sylwester Nawrocki, Shaik Ameer Basha; +Cc: linux-media, sw0312.kim
Hi Shaik,
Could you let us know if the driver is working fine with this patch
applied ? I have no exynos5 based board to test it. And this patch
qualifies as an important fix that should be applied for v3.7, where
the driver's first appeared.
Thanks,
Sylwester
On 11/10/2012 11:57 PM, Sylwester Nawrocki wrote:
> vfl_dir should be set to VFL_DIR_M2M so valid ioctls for this
> mem-to-mem device can be properly determined in the v4l2 core.
>
> Cc: Shaik Ameer Basha<shaik.ameer@samsung.com>
> Signed-off-by: Sylwester Nawrocki<sylvester.nawrocki@gmail.com>
> ---
> I didn't run-time test this patch.
>
> drivers/media/platform/exynos-gsc/gsc-m2m.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/media/platform/exynos-gsc/gsc-m2m.c b/drivers/media/platform/exynos-gsc/gsc-m2m.c
> index 3c7f005..88642a8 100644
> --- a/drivers/media/platform/exynos-gsc/gsc-m2m.c
> +++ b/drivers/media/platform/exynos-gsc/gsc-m2m.c
> @@ -732,6 +732,7 @@ int gsc_register_m2m_device(struct gsc_dev *gsc)
> gsc->vdev.ioctl_ops =&gsc_m2m_ioctl_ops;
> gsc->vdev.release = video_device_release_empty;
> gsc->vdev.lock =&gsc->lock;
> + gsc->vdev.vfl_dir = VFL_DIR_M2M;
> snprintf(gsc->vdev.name, sizeof(gsc->vdev.name), "%s.%d:m2m",
> GSC_MODULE_NAME, gsc->id);
>
> --
> 1.7.4.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] exynos-gsc: Add missing video device vfl_dir flag initialization
2012-11-19 20:06 ` Sylwester Nawrocki
@ 2012-11-21 11:59 ` Shaik Ameer Basha
0 siblings, 0 replies; 3+ messages in thread
From: Shaik Ameer Basha @ 2012-11-21 11:59 UTC (permalink / raw)
To: Sylwester Nawrocki; +Cc: Shaik Ameer Basha, linux-media, sw0312.kim
Hi Sylwester,
I applied this patch and tested exynos-gsc driver basic features on exynos5250.
It's working fine for me.
Thanks,
Shaik Ameer Basha
On Tue, Nov 20, 2012 at 1:36 AM, Sylwester Nawrocki
<sylvester.nawrocki@gmail.com> wrote:
> Hi Shaik,
>
> Could you let us know if the driver is working fine with this patch
> applied ? I have no exynos5 based board to test it. And this patch
> qualifies as an important fix that should be applied for v3.7, where
> the driver's first appeared.
>
> Thanks,
> Sylwester
>
>
> On 11/10/2012 11:57 PM, Sylwester Nawrocki wrote:
>>
>> vfl_dir should be set to VFL_DIR_M2M so valid ioctls for this
>> mem-to-mem device can be properly determined in the v4l2 core.
>>
>> Cc: Shaik Ameer Basha<shaik.ameer@samsung.com>
>> Signed-off-by: Sylwester Nawrocki<sylvester.nawrocki@gmail.com>
>> ---
>> I didn't run-time test this patch.
>>
>> drivers/media/platform/exynos-gsc/gsc-m2m.c | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/media/platform/exynos-gsc/gsc-m2m.c
>> b/drivers/media/platform/exynos-gsc/gsc-m2m.c
>> index 3c7f005..88642a8 100644
>> --- a/drivers/media/platform/exynos-gsc/gsc-m2m.c
>> +++ b/drivers/media/platform/exynos-gsc/gsc-m2m.c
>> @@ -732,6 +732,7 @@ int gsc_register_m2m_device(struct gsc_dev *gsc)
>> gsc->vdev.ioctl_ops =&gsc_m2m_ioctl_ops;
>> gsc->vdev.release = video_device_release_empty;
>> gsc->vdev.lock =&gsc->lock;
>>
>> + gsc->vdev.vfl_dir = VFL_DIR_M2M;
>> snprintf(gsc->vdev.name, sizeof(gsc->vdev.name), "%s.%d:m2m",
>> GSC_MODULE_NAME, gsc->id);
>>
>> --
>> 1.7.4.1
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-21 11:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-10 22:57 [PATCH] exynos-gsc: Add missing video device vfl_dir flag initialization Sylwester Nawrocki
2012-11-19 20:06 ` Sylwester Nawrocki
2012-11-21 11:59 ` Shaik Ameer Basha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox