From: "Christian König" <deathsimple@vodafone.de>
To: Oded Gabbay <oded.gabbay@gmail.com>,
dri-devel@lists.freedesktop.org, alexdeucher@gmail.com
Cc: Dave Airlie <airlied@redhat.com>, michel.daenzer@amd.com
Subject: Re: [PATCH 1/3] drm: add helper to check for wc memory support
Date: Sat, 30 Jan 2016 10:57:19 +0100 [thread overview]
Message-ID: <56AC88FF.5040203@vodafone.de> (raw)
In-Reply-To: <1454133574-20527-1-git-send-email-oded.gabbay@gmail.com>
Am 30.01.2016 um 06:59 schrieb Oded Gabbay:
> From: Dave Airlie <airlied@redhat.com>
>
> Signed-off-by: Dave Airlie <airlied@redhat.com>
> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
With the minor issues Michel noted fixed this series is Reviewed-by:
Christian König <christian.koenig@amd.com> as well.
> ---
> include/drm/drm_cache.h | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/include/drm/drm_cache.h b/include/drm/drm_cache.h
> index 7bfb063..461a055 100644
> --- a/include/drm/drm_cache.h
> +++ b/include/drm/drm_cache.h
> @@ -35,4 +35,13 @@
>
> void drm_clflush_pages(struct page *pages[], unsigned long num_pages);
>
> +static inline bool drm_arch_can_wc_memory(void)
> +{
> +#if defined(CONFIG_PPC) && !defined(CONFIG_NOT_COHERENT_CACHE)
> + return false;
> +#else
> + return true;
> +#endif
> +}
> +
> #endif
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2016-01-30 9:57 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-30 5:59 [PATCH 1/3] drm: add helper to check for wc memory support Oded Gabbay
2016-01-30 5:59 ` [PATCH 2/3] drm/radeon: mask out WC from BO on unsupported arches Oded Gabbay
2016-01-30 8:11 ` Michel Dänzer
2016-01-30 10:58 ` Oded Gabbay
2016-01-30 5:59 ` [PATCH 3/3] drm/amdgpu: " Oded Gabbay
2016-01-30 9:57 ` Christian König [this message]
2016-02-01 17:01 ` [PATCH 1/3] drm: add helper to check for wc memory support Alex Deucher
2016-02-02 12:01 ` Oded Gabbay
2016-02-02 15:07 ` Alex Deucher
2016-02-03 8:17 ` Oded Gabbay
2016-02-03 13:53 ` Alex Deucher
2016-02-03 14:00 ` Oded Gabbay
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=56AC88FF.5040203@vodafone.de \
--to=deathsimple@vodafone.de \
--cc=airlied@redhat.com \
--cc=alexdeucher@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=michel.daenzer@amd.com \
--cc=oded.gabbay@gmail.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.