sync libdrm headers with kernel
Subsystems (3)
PATCH 1/1 sync libdrm headers with kernel
Added missing defines to the kernel tree in order to make future header syncs easier.
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 1/1 drm/radeon: define RADEON_TILING_R600_NO_SCANOUT
In reply to a message not in the archiveAdd 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.
--- include/uapi/drm/radeon_drm.h | 1 + 1 file changed, 1 insertion(+)
include/uapi/drm/radeon_drm.h +1 -0
@@ -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
Signature · 6 lines
2.9.3 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
PATCH 1/1 headers: Sync {amdgpu, radeon}_drm.h with the kernel v2
In reply to a message not in the archiveGenerated using make headers_install from:
airlied/drm-next 3806a27 Merge tag 'drm-misc-next-2016-12-30' ... +
drm/radeon: define RADEON_TILING_R600_NO_SCANOUT
By adding RADEON_TILING_R600_NO_SCANOUT to the kernel tree we no longer need to maintain this define on radeon_drm.h manually.
v2: Add RADEON_TILING_R600_NO_SCANOUT to the kernel tree instead of manually re-adding it.
--- include/drm/README | 7 +- include/drm/amdgpu_drm.h | 387 +++++++++++++++++++++++++++++------------------ include/drm/radeon_drm.h | 130 ++++++++-------- 3 files changed, 308 insertions(+), 216 deletions(-)
include/drm/README +1 -6
@@ -94,10 +94,6 @@ Status: ? Promote to fixed size ints, which match the current (32bit) ones. -amdgpu_drm.h - - Using the stdint.h uint*_t over the respective __u* ones -Status: Trivial. - drm_mode.h - Missing DPI encode/connector pair. Status: Trivial.
@@ -123,8 +119,7 @@ r128_drm.h - Broken compat ioctls. radeon_drm.h - - Missing RADEON_TILING_R600_NO_SCANOUT, CIK_TILE_MODE_*, broken UMS ioctls, -using stdint types. + - Missing CIK_TILE_MODE_*, broken UMS ioctls. - Both kernel and libdrm: missing padding - drm_radeon_gem_{create,{g,s}et_tiling,set_domain} others ? Status: ?
include/drm/amdgpu_drm.h +242 -145
662 lines not on this page · raw message
include/drm/radeon_drm.h +65 -65
222 lines not on this page · raw message
Signature · 6 lines
2.9.3 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Emil Velikov
Reviewed-byRe: [PATCH linux] drm/radeon: define RADEON_TILING_R600_NO_SCANOUT
In reply to a message not in the archiveQuoted 11 lines · Andres Rodriguez
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 kernelradeon_drm.h. This makes the header update process inconvenient.To solve the problem, add the define on the kernel side.
RADEON_TILING_R600_NO_SCANOUTis consumed by the radeon Mesa/Gallium driver.
It may look a bit iffy to have it here, but it's a bit late to change it now.
Fwiw
Thanks !
Emil
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Re: [PATCH libdrm] headers: Sync {amdgpu,radeon}_drm.h with the kernel v2
In reply to a message not in the archiveQuoted 11 lines · Andres Rodriguez
Generated using make
headers_installfrom:
airlied/drm-next 3806a27 Merge tag 'drm-misc-next-2016-12-30' ... +
drm/radeon: defineRADEON_TILING_R600_NO_SCANOUTBy adding
RADEON_TILING_R600_NO_SCANOUTto the kernel tree we no longer need to maintain this define onradeon_drm.hmanually.v2: Add
RADEON_TILING_R600_NO_SCANOUTto the kernel tree instead of manually re-adding it.
Please hold this off for a bit until the fix lands in airlied/drm-next.
Thanks!
Emil
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx