|
@@ -2182,10 +2182,6 @@ struct drm_i915_gem_object {
|
|
*/
|
|
*/
|
|
unsigned int madv:2;
|
|
unsigned int madv:2;
|
|
|
|
|
|
- /**
|
|
|
|
- * Current tiling mode for the object.
|
|
|
|
- */
|
|
|
|
- unsigned int tiling_mode:2;
|
|
|
|
/**
|
|
/**
|
|
* Whether the tiling parameters for the currently associated fence
|
|
* Whether the tiling parameters for the currently associated fence
|
|
* register have changed. Note that for the purposes of tracking
|
|
* register have changed. Note that for the purposes of tracking
|
|
@@ -2218,6 +2214,14 @@ struct drm_i915_gem_object {
|
|
|
|
|
|
atomic_t frontbuffer_bits;
|
|
atomic_t frontbuffer_bits;
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * Current tiling mode for the object.
|
|
|
|
+ */
|
|
|
|
+ unsigned int tiling_mode;
|
|
|
|
+
|
|
|
|
+ /** Current tiling stride for the object, if it's tiled. */
|
|
|
|
+ uint32_t stride;
|
|
|
|
+
|
|
unsigned int has_wc_mmap;
|
|
unsigned int has_wc_mmap;
|
|
/** Count of VMA actually bound by this object */
|
|
/** Count of VMA actually bound by this object */
|
|
unsigned int bind_count;
|
|
unsigned int bind_count;
|
|
@@ -2245,9 +2249,6 @@ struct drm_i915_gem_object {
|
|
struct i915_gem_active last_write;
|
|
struct i915_gem_active last_write;
|
|
struct i915_gem_active last_fence;
|
|
struct i915_gem_active last_fence;
|
|
|
|
|
|
- /** Current tiling stride for the object, if it's tiled. */
|
|
|
|
- uint32_t stride;
|
|
|
|
-
|
|
|
|
/** References from framebuffers, locks out tiling changes. */
|
|
/** References from framebuffers, locks out tiling changes. */
|
|
unsigned long framebuffer_references;
|
|
unsigned long framebuffer_references;
|
|
|
|
|