From: Andres Rodriguez <andresx7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: Alexander.Deucher-5C7GfCeVMHo@public.gmane.org,
emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
Andres Rodriguez
<andresx7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: [PATCH linux] drm/radeon: define RADEON_TILING_R600_NO_SCANOUT
Date: Mon, 9 Jan 2017 13:34:26 -0500 [thread overview]
Message-ID: <20170109183427.5466-2-andresx7@gmail.com> (raw)
In-Reply-To: <20170109183427.5466-1-andresx7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Add the missing definition of RADEON_TILING_R600_NO_SCANOUT.
This define currently exists in the libdrm radeon_drm.h, but missing
from from the kernel radeon_drm.h. This makes the header update process
inconvenient.
To solve the problem, add the define on the kernel side.
RADEON_TILING_R600_NO_SCANOUT is consumed by the radeon Mesa/Gallium
driver.
Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
---
include/uapi/drm/radeon_drm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/uapi/drm/radeon_drm.h b/include/uapi/drm/radeon_drm.h
index 490a59c..9734670 100644
--- a/include/uapi/drm/radeon_drm.h
+++ b/include/uapi/drm/radeon_drm.h
@@ -838,6 +838,7 @@ struct drm_radeon_gem_userptr {
#define RADEON_TILING_MACRO 0x1
#define RADEON_TILING_MICRO 0x2
#define RADEON_TILING_SWAP_16BIT 0x4
+#define RADEON_TILING_R600_NO_SCANOUT RADEON_TILING_SWAP_16BIT
#define RADEON_TILING_SWAP_32BIT 0x8
/* this object requires a surface when mapped - i.e. front buffer */
#define RADEON_TILING_SURFACE 0x10
--
2.9.3
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
next prev parent reply other threads:[~2017-01-09 18:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 18:34 [PATCH] sync libdrm headers with kernel Andres Rodriguez
[not found] ` <20170109183427.5466-1-andresx7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-01-09 18:34 ` Andres Rodriguez [this message]
[not found] ` <20170109183427.5466-2-andresx7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-01-13 18:06 ` [PATCH linux] drm/radeon: define RADEON_TILING_R600_NO_SCANOUT Emil Velikov
2017-01-09 18:34 ` [PATCH libdrm] headers: Sync {amdgpu, radeon}_drm.h with the kernel v2 Andres Rodriguez
[not found] ` <20170109183427.5466-3-andresx7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-01-13 18:08 ` [PATCH libdrm] headers: Sync {amdgpu,radeon}_drm.h " Emil Velikov
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=20170109183427.5466-2-andresx7@gmail.com \
--to=andresx7-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=Alexander.Deucher-5C7GfCeVMHo@public.gmane.org \
--cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox