Skip to content

Commit 0bf90a8

Browse files
ifdurodrigovivi
authored andcommitted
drm/xe/uapi: Move CPU_CACHING defines before doc
Move those defines to align on the rule used elsewhere in the file which was introduced by commit 4f082f2 ("drm/xe: Move defines before relevant fields"). Reviewed-by: Rodrigo Vivi <[email protected]> Acked-by: José Roberto de Souza <[email protected]> Acked-by: Mateusz Naklicki <[email protected]> Signed-off-by: Francois Dugast <[email protected]> Signed-off-by: Rodrigo Vivi <[email protected]>
1 parent db35331 commit 0bf90a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/uapi/drm/xe_drm.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -733,12 +733,12 @@ struct drm_xe_gem_create {
733733
*/
734734
__u32 handle;
735735

736+
#define DRM_XE_GEM_CPU_CACHING_WB 1
737+
#define DRM_XE_GEM_CPU_CACHING_WC 2
736738
/**
737739
* @cpu_caching: The CPU caching mode to select for this object. If
738740
* mmaping the object the mode selected here will also be used.
739741
*/
740-
#define DRM_XE_GEM_CPU_CACHING_WB 1
741-
#define DRM_XE_GEM_CPU_CACHING_WC 2
742742
__u16 cpu_caching;
743743
/** @pad: MBZ */
744744
__u16 pad[3];

0 commit comments

Comments
 (0)