[patch] tests/kmstest: support exynos

Hyungwon Hwang human.hwang at samsung.com
Wed Jan 8 22:59:28 PST 2014


Hello Rob,

On Wed, 08 Jan 2014 11:28:19 -0500
Rob Clark <robdclark at gmail.com> wrote:

> On Tue, Jan 7, 2014 at 1:40 AM, Hyungwon Hwang
> <human.hwang at samsung.com> wrote:
> > tests/kmstest: support exynos
> >
> > Add exynos to list of kmstest supported modules.
> >
> > Signed-off-by: Hyungwon Hwang <human.hwang at samsung.com>
> > ---
> >  libkms/internal.h    |    2 ++
> >  libkms/linux.c       |    4 ++++
> >  tests/kmstest/main.c |    1 +
> >  3 files changed, 7 insertions(+)
> >
> > diff --git a/libkms/internal.h b/libkms/internal.h
> > index 5e2501e..f831b57 100644
> > --- a/libkms/internal.h
> > +++ b/libkms/internal.h
> > @@ -74,4 +74,6 @@ int nouveau_create(int fd, struct kms_driver
> > **out);
> >
> >  int radeon_create(int fd, struct kms_driver **out);
> >
> > +int exynos_create(int fd, struct kms_driver **out);
> > +
> 
> exynos_create() does not seem to be defined anywhere.. am I missing a
> patch, or perhaps did you forget to 'git add' a file?

Sorry. It was my mistake.
I forgot to include exynos implementation for KMS.
I'll resend again.


> 
> BR,
> -R
> 
> 
> >  #endif
> > diff --git a/libkms/linux.c b/libkms/linux.c
> > index fc4f205..2de0145 100644
> > --- a/libkms/linux.c
> > +++ b/libkms/linux.c
> > @@ -115,6 +115,10 @@ linux_from_sysfs(int fd, struct kms_driver
> > **out) else if (!strcmp(name, "radeon"))
> >                 ret = radeon_create(fd, out);
> >  #endif
> > +#ifdef HAVE_EXYNOS
> > +       else if (!strcmp(name, "exynos"))
> > +               ret = exynos_create(fd, out);
> > +#endif
> >         else
> >                 ret = -ENOSYS;
> >
> > diff --git a/tests/kmstest/main.c b/tests/kmstest/main.c
> > index 5df0a38..449d75f 100644
> > --- a/tests/kmstest/main.c
> > +++ b/tests/kmstest/main.c
> > @@ -61,6 +61,7 @@ char *drivers[] = {
> >         "radeon",
> >         "nouveau",
> >         "vmwgfx",
> > +       "exynos",
> >         NULL
> >  };
> >
> > --
> > 1.7.9.5
> >
> > ---
> > Hyungwon Hwang
> > Samsung SWC S/W Platform Team
> > Smasung Electronics
> > human.hwang at samsung.com
> > _______________________________________________
> > dri-devel mailing list
> > dri-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/dri-devel

Thanks,
Hyungwon Hwang

---
Hyungwon Hwang
Samsung SWC S/W Platform Team
Smasung Electronics
human.hwang at samsung.com


More information about the dri-devel mailing list