Re: [patch] tests/kmstest: support exynos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 7, 2014 at 1:40 AM, Hyungwon Hwang <human.hwang@xxxxxxxxxxx> wrote:
> tests/kmstest: support exynos
>
> Add exynos to list of kmstest supported modules.
>
> Signed-off-by: Hyungwon Hwang <human.hwang@xxxxxxxxxxx>
> ---
>  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?

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@xxxxxxxxxxx
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux