* struct vmw_bo - TTM buffer object with vmwgfx additions
  * @base: The TTM buffer object
  * @res_tree: RB tree of resources using this buffer object as a backing MOB
- * @base_mapped_count: ttm BO mapping count; used by KMS atomic helpers.
  * @cpu_writers: Number of synccpu write grabs. Protected by reservation when
  * increased. May be decreased without reservation.
  * @dx_query_ctx: DX context if this buffer object is used as a DX query MOB
 struct vmw_bo {
        struct ttm_buffer_object base;
        struct rb_root res_tree;
-       /* For KMS atomic helpers: ttm bo mapping count */
-       atomic_t base_mapped_count;
 
        atomic_t cpu_writers;
        /* Not ref-counted.  Protected by binding_mutex */
 
                const int ret = ttm_bo_reserve(&vps->bo->base, true, false, NULL);
 
                if (likely(ret == 0)) {
-                       if (atomic_read(&vps->bo->base_mapped_count) == 0)
-                           ttm_bo_kunmap(&vps->bo->map);
+                       ttm_bo_kunmap(&vps->bo->map);
                        ttm_bo_unreserve(&vps->bo->base);
                }
        }
 
                ret = ttm_bo_kmap(&vps->bo->base, 0, PFN_UP(size), &vps->bo->map);
 
-               if (likely(ret == 0))
-                       atomic_inc(&vps->bo->base_mapped_count);
-
                ttm_bo_unreserve(&vps->bo->base);
 
                if (unlikely(ret != 0))
        struct vmw_plane_state *vps = vmw_plane_state_to_vps(new_state);
        struct vmw_plane_state *old_vps = vmw_plane_state_to_vps(old_state);
        s32 hotspot_x, hotspot_y;
-       bool dummy;
 
        hotspot_x = du->hotspot_x;
        hotspot_y = du->hotspot_y;
                                                hotspot_x, hotspot_y);
        }
 
-       if (vps->bo) {
-               if (ttm_kmap_obj_virtual(&vps->bo->map, &dummy))
-                       atomic_dec(&vps->bo->base_mapped_count);
-       }
-
        du->cursor_x = new_state->crtc_x + du->set_gui_x;
        du->cursor_y = new_state->crtc_y + du->set_gui_y;