summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/drm_fops.c2
-rw-r--r--shared-core/drm.h12
-rw-r--r--shared-core/i915_dma.c2
3 files changed, 8 insertions, 8 deletions
diff --git a/linux-core/drm_fops.c b/linux-core/drm_fops.c
index 98e581fe..d542d4e3 100644
--- a/linux-core/drm_fops.c
+++ b/linux-core/drm_fops.c
@@ -335,7 +335,7 @@ EXPORT_SYMBOL(drm_fasync);
static void drm_object_release(struct file *filp) {
- struct drm_file *priv = filp->private_data;
+ struct drm_file *priv = filp->private_data;
struct list_head *head;
struct drm_user_object *user_object;
struct drm_ref_object *ref_object;
diff --git a/shared-core/drm.h b/shared-core/drm.h
index de8967ad..db913b1f 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -786,15 +786,15 @@ enum drm_bo_type {
struct drm_bo_info_req {
uint64_t mask;
- uint64_t flags;
- unsigned int handle;
+ uint64_t flags;
+ unsigned int handle;
unsigned int hint;
unsigned int fence_class;
unsigned int pad64;
};
struct drm_bo_create_req {
- uint64_t mask;
+ uint64_t mask;
uint64_t size;
uint64_t buffer_start;
unsigned int hint;
@@ -820,8 +820,8 @@ struct drm_bo_op_req {
#define DRM_BO_REP_BUSY 0x00000001
struct drm_bo_info_rep {
- uint64_t flags;
- uint64_t mask;
+ uint64_t flags;
+ uint64_t mask;
uint64_t size;
uint64_t offset;
uint64_t arg_handle;
@@ -831,7 +831,7 @@ struct drm_bo_info_rep {
unsigned int rep_flags;
unsigned int page_alignment;
unsigned int desired_tile_stride;
- unsigned int hw_tile_stride;
+ unsigned int hw_tile_stride;
unsigned int tile_info;
unsigned int pad64;
uint64_t expand_pad[4]; /*Future expansion */
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c
index fbad27c0..c3a41bd5 100644
--- a/shared-core/i915_dma.c
+++ b/shared-core/i915_dma.c
@@ -874,7 +874,7 @@ static int i915_mmio(DRM_IOCTL_ARGS)
e = &mmio_table[mmio.reg];
base = (u8 *) dev_priv->mmio_map->handle + e->offset;
- switch (mmio.read_write) {
+ switch (mmio.read_write) {
case I915_MMIO_READ:
if (!(e->flag & I915_MMIO_MAY_READ))
return DRM_ERR(EINVAL);