All of lore.kernel.org
 help / color / mirror / Atom feed
From: Inki Dae <inki.dae@samsung.com>
To: Hyungwon Hwang <human.hwang@samsung.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 2/2] exynos: remove DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctls
Date: Wed, 19 Nov 2014 11:03:14 +0900	[thread overview]
Message-ID: <546BFA62.2050600@samsung.com> (raw)
In-Reply-To: <1414718891-3129-2-git-send-email-human.hwang@samsung.com>

On 2014년 10월 31일 10:28, Hyungwon Hwang wrote:
> This patch removes the ioctls which are removed from the linux kernel.

Signed-off-by: Inki Dae <inki.dae@samsung.com>

> 
> Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
> ---
>  exynos/exynos_drm.h | 40 ----------------------------------------
>  1 file changed, 40 deletions(-)
> 
> diff --git a/exynos/exynos_drm.h b/exynos/exynos_drm.h
> index c3c6579..256c02f 100644
> --- a/exynos/exynos_drm.h
> +++ b/exynos/exynos_drm.h
> @@ -47,38 +47,6 @@ struct drm_exynos_gem_create {
>  };
>  
>  /**
> - * A structure for getting buffer offset.
> - *
> - * @handle: a pointer to gem object created.
> - * @pad: just padding to be 64-bit aligned.
> - * @offset: relatived offset value of the memory region allocated.
> - *	- this value should be set by user.
> - */
> -struct drm_exynos_gem_map_off {
> -	unsigned int handle;
> -	unsigned int pad;
> -	uint64_t offset;
> -};
> -
> -/**
> - * A structure for mapping buffer.
> - *
> - * @handle: a handle to gem object created.
> - * @pad: just padding to be 64-bit aligned.
> - * @size: memory size to be mapped.
> - * @mapped: having user virtual address mmaped.
> - *	- this variable would be filled by exynos gem module
> - *	of kernel side with user virtual address which is allocated
> - *	by do_mmap().
> - */
> -struct drm_exynos_gem_mmap {
> -	unsigned int handle;
> -	unsigned int pad;
> -	uint64_t size;
> -	uint64_t mapped;
> -};
> -
> -/**
>   * A structure to gem information.
>   *
>   * @handle: a handle to gem object created.
> @@ -164,8 +132,6 @@ struct drm_exynos_g2d_exec {
>  };
>  
>  #define DRM_EXYNOS_GEM_CREATE		0x00
> -#define DRM_EXYNOS_GEM_MAP_OFFSET	0x01
> -#define DRM_EXYNOS_GEM_MMAP		0x02
>  /* Reserved 0x04 ~ 0x05 for exynos specific gem ioctl */
>  #define DRM_EXYNOS_GEM_GET		0x04
>  #define DRM_EXYNOS_VIDI_CONNECTION	0x07
> @@ -178,12 +144,6 @@ struct drm_exynos_g2d_exec {
>  #define DRM_IOCTL_EXYNOS_GEM_CREATE		DRM_IOWR(DRM_COMMAND_BASE + \
>  		DRM_EXYNOS_GEM_CREATE, struct drm_exynos_gem_create)
>  
> -#define DRM_IOCTL_EXYNOS_GEM_MAP_OFFSET	DRM_IOWR(DRM_COMMAND_BASE + \
> -		DRM_EXYNOS_GEM_MAP_OFFSET, struct drm_exynos_gem_map_off)
> -
> -#define DRM_IOCTL_EXYNOS_GEM_MMAP	DRM_IOWR(DRM_COMMAND_BASE + \
> -		DRM_EXYNOS_GEM_MMAP, struct drm_exynos_gem_mmap)
> -
>  #define DRM_IOCTL_EXYNOS_GEM_GET	DRM_IOWR(DRM_COMMAND_BASE + \
>  		DRM_EXYNOS_GEM_GET,	struct drm_exynos_gem_info)
>  
> 

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2014-11-19  2:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-31  1:28 [PATCH 1/2] exynos: Don't use DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctls Hyungwon Hwang
2014-10-31  1:28 ` [PATCH 2/2] exynos: remove " Hyungwon Hwang
2014-11-19  2:03   ` Inki Dae [this message]
2014-11-19  2:02 ` [PATCH 1/2] exynos: Don't use " Inki Dae
  -- strict thread matches above, loose matches on Subject: below --
2015-01-16 22:57 libdrm/exynos: fix usage of removed ioctls Tobias Jakobi
2015-01-16 22:57 ` [PATCH 2/2] exynos: remove DRM_EXYNOS_GEM_{MAP_OFFSET/MMAP} ioctls Tobias Jakobi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=546BFA62.2050600@samsung.com \
    --to=inki.dae@samsung.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=human.hwang@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.