dri-devel Archive on lore.kernel.org
 help / color / Atom feed
From: Alex Deucher <alexdeucher@gmail.com>
To: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 5/7] radeon: move blit functions to radeon_asic.h
Date: Mon, 29 Nov 2010 10:37:35 -0500
Message-ID: <AANLkTikLi7+s0dfTVJaMfNn7xM+2F46YYr4GbQ0UbgU+@mail.gmail.com> (raw)
In-Reply-To: <1290967575-22705-6-git-send-email-daniel.vetter@ffwll.ch>

On Sun, Nov 28, 2010 at 1:06 PM, Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

Reviewed-by: Alex Deucher <alexdeucher@gmail.com>

> ---
>  drivers/gpu/drm/radeon/radeon.h      |   13 -------------
>  drivers/gpu/drm/radeon/radeon_asic.h |   13 +++++++++++++
>  2 files changed, 13 insertions(+), 13 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
> index 5fff6bf..942f5f2 100644
> --- a/drivers/gpu/drm/radeon/radeon.h
> +++ b/drivers/gpu/drm/radeon/radeon.h
> @@ -1182,19 +1182,6 @@ int radeon_device_init(struct radeon_device *rdev,
>  void radeon_device_fini(struct radeon_device *rdev);
>  int radeon_gpu_wait_for_idle(struct radeon_device *rdev);
>
> -/* r600 blit */
> -int r600_blit_prepare_copy(struct radeon_device *rdev, int size_bytes);
> -void r600_blit_done_copy(struct radeon_device *rdev, struct radeon_fence *fence);
> -void r600_kms_blit_copy(struct radeon_device *rdev,
> -                       u64 src_gpu_addr, u64 dst_gpu_addr,
> -                       int size_bytes);
> -/* evergreen blit */
> -int evergreen_blit_prepare_copy(struct radeon_device *rdev, int size_bytes);
> -void evergreen_blit_done_copy(struct radeon_device *rdev, struct radeon_fence *fence);
> -void evergreen_kms_blit_copy(struct radeon_device *rdev,
> -                            u64 src_gpu_addr, u64 dst_gpu_addr,
> -                            int size_bytes);
> -
>  static inline uint32_t r100_mm_rreg(struct radeon_device *rdev, uint32_t reg)
>  {
>        if (reg < rdev->rmmio_size)
> diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h
> index c7cbba3..8e75be1 100644
> --- a/drivers/gpu/drm/radeon/radeon_asic.h
> +++ b/drivers/gpu/drm/radeon/radeon_asic.h
> @@ -359,6 +359,12 @@ void r600_audio_fini(struct radeon_device *rdev);
>  void r600_hdmi_init(struct drm_encoder *encoder);
>  int r600_hdmi_buffer_status_changed(struct drm_encoder *encoder);
>  void r600_hdmi_update_audio_settings(struct drm_encoder *encoder);
> +/* r600 blit */
> +int r600_blit_prepare_copy(struct radeon_device *rdev, int size_bytes);
> +void r600_blit_done_copy(struct radeon_device *rdev, struct radeon_fence *fence);
> +void r600_kms_blit_copy(struct radeon_device *rdev,
> +                       u64 src_gpu_addr, u64 dst_gpu_addr,
> +                       int size_bytes);
>
>  /*
>  * rv770,rv730,rv710,rv740
> @@ -411,5 +417,12 @@ void evergreen_post_page_flip(struct radeon_device *rdev, int crtc);
>  void evergreen_disable_interrupt_state(struct radeon_device *rdev);
>  int evergreen_blit_init(struct radeon_device *rdev);
>  void evergreen_blit_fini(struct radeon_device *rdev);
> +/* evergreen blit */
> +int evergreen_blit_prepare_copy(struct radeon_device *rdev, int size_bytes);
> +void evergreen_blit_done_copy(struct radeon_device *rdev, struct radeon_fence *fence);
> +void evergreen_kms_blit_copy(struct radeon_device *rdev,
> +                            u64 src_gpu_addr, u64 dst_gpu_addr,
> +                            int size_bytes);
> +
>
>  #endif
> --
> 1.7.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>

  reply index

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-28 18:06 [PATCH 0/7] radeon_asic header cleanup, part 2 Daniel Vetter
2010-11-28 18:06 ` [PATCH 1/7] radeon: consolidate asic-specific function decls for pre-r600 Daniel Vetter
2010-11-29 15:29   ` Alex Deucher
2010-11-28 18:06 ` [PATCH 2/7] radeon: consolidate asic-specific function decls for r600 & later Daniel Vetter
2010-11-29 15:34   ` Alex Deucher
2010-11-28 18:06 ` [PATCH 3/7] radeon: drop extern from function decls Daniel Vetter
2010-11-29 15:36   ` Alex Deucher
2010-11-28 18:06 ` [PATCH 4/7] radeon: kill decls for inline functions Daniel Vetter
2010-11-29 15:37   ` Alex Deucher
2010-11-28 18:06 ` [PATCH 5/7] radeon: move blit functions to radeon_asic.h Daniel Vetter
2010-11-29 15:37   ` Alex Deucher [this message]
2010-11-28 18:06 ` [PATCH 6/7] radeon: kill r100_io_(r|w)reg Daniel Vetter
2010-11-29 15:40   ` Alex Deucher
2010-11-28 18:06 ` [PATCH 7/7] radeon: kill rdev->pciep_(r|w)reg Daniel Vetter
2010-11-29 15:43   ` Alex Deucher

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=AANLkTikLi7+s0dfTVJaMfNn7xM+2F46YYr4GbQ0UbgU+@mail.gmail.com \
    --to=alexdeucher@gmail.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    /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

dri-devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/dri-devel/0 dri-devel/git/0.git
	git clone --mirror https://lore.kernel.org/dri-devel/1 dri-devel/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dri-devel dri-devel/ https://lore.kernel.org/dri-devel \
		dri-devel@lists.freedesktop.org
	public-inbox-index dri-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.freedesktop.lists.dri-devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git