drm: Use userspace compatible type in fourcc_mod_code macro
Subsystems (3)
PATCH 1/1 drm: Use userspace compatible type in fourcc_mod_code macro
From: Tvrtko Ursulin <[email protected]>
__u64 should be used instead of u64.
Feature originally added in:
commit e3eb3250d84ef97b766312345774367b6a310db8
Author: Rob Clark <[email protected]> Date: Thu Feb 5 14:41:52 2015 +0000
drm: add support for tiled/compressed/etc modifier in addfb2
--- include/uapi/drm/drm_fourcc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/drm/drm_fourcc.h +1 -1
@@ -158,7 +158,7 @@/* add more to the end as needed */ #define fourcc_mod_code (vendor, val) \ - ((((u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffULL)) + ((((__u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffULL))/* * Format Modifier tokens:
Signature · 6 lines
2.5.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 10 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
__u64should be used instead of u64.Feature originally added in:
commit
e3eb3250d84ef97b766312345774367b6a310db8Author: Rob Clark <[email protected]> Date: Thu Feb 5 14:41:52 2015 +0000
Quoted 8 lines
drm: add support for tiled/compressed/etc modifier in addfb2
Signed-off-by Tvrtko Ursulin <[email protected]>Cc Rob Clark <[email protected]>Cc Daniel Stone <[email protected]>Cc Daniel Vetter <[email protected]>
Quoted 24 lines
--- include/uapi/drm/drm_fourcc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/uapi/drm/drm_fourcc.h +1
-1@@ -158,7 +158,7 @@/* add more to the end as needed */ #define fourcc_mod_code (vendor, val) \ - ((((u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffULL)) + ((((__u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffULL))/* * Format Modifier tokens: Signature · 6 lines
2.5.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 2 lines
Ville Syrjälä Intel OTC
Jani Nikula
AppliedQuoted 13 lines · Ville Syrjälä
Quoted 12 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
__u64should be used instead of u64.Feature originally added in:
commit
e3eb3250d84ef97b766312345774367b6a310db8Author: Rob Clark <[email protected]> Date: Thu Feb 5 14:41:52 2015 +0000drm: add support for tiled/compressed/etc modifier in addfb2
Quoted 8 lines
Quoted 6 lines
Signed-off-by Tvrtko Ursulin <[email protected]>Cc Rob Clark <[email protected]>Cc Daniel Stone <[email protected]>Cc Daniel Vetter <[email protected]>Reviewed-by Ville Syrjälä <[email protected]>
Pushed to our topic/drm-fixes branch, thanks for the patch and review.
BR,
Jani.
Quoted 25 lines
Quoted 25 lines
--- include/uapi/drm/drm_fourcc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/uapi/drm/drm_fourcc.h +1
-1@@ -158,7 +158,7 @@/* add more to the end as needed */ #define fourcc_mod_code (vendor, val) \ - ((((u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffULL)) + ((((__u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffULL))/* * Format Modifier tokens: Signature · 6 lines
2.5.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 1 line
Jani Nikula, Intel Open Source Technology Center
Quoted 21 lines · Jani Nikula
Quoted 20 lines · Ville Syrjälä
Quoted 18 lines · Tvrtko Ursulin
From: Tvrtko Ursulin <[email protected]>
__u64should be used instead of u64.Feature originally added in:
commit
e3eb3250d84ef97b766312345774367b6a310db8Author: Rob Clark <[email protected]> Date: Thu Feb 5 14:41:52 2015 +0000drm: add support for tiled/compressed/etc modifier in addfb2
Signed-off-by Tvrtko Ursulin <[email protected]>Cc Rob Clark <[email protected]>Cc Daniel Stone <[email protected]>Cc Daniel Vetter <[email protected]>
Quoted 3 lines
Quoted 1 line
Reviewed-by Ville Syrjälä <[email protected]>Pushed to our topic/drm-fixes branch, thanks for the patch and review.
and I've pushed the libdrm part
BR,
-R
Quoted 24 lines
BR,
Jani.Quoted 21 lines
Quoted 21 lines
--- include/uapi/drm/drm_fourcc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/uapi/drm/drm_fourcc.h +1
-2@@ -158,7 +158,7 @@/* add more to the end as needed */ #define fourcc_mod_code (vendor, val) \ - ((((u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffULL)) + ((((__u64)DRM_FORMAT_MOD_VENDOR_## vendor) << 56) | (val & 0x00ffffffffffffffULL))/* * Format Modifier tokens: -- 2.5.1
Quoted 11 lines
Quoted 4 lines
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx--
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel