dma-buf-map: Rename to iosys-map
[linux-block.git] / drivers / gpu / drm / tiny / gm12u320.c
index 6bc0c298739ccf22a42209d3327504b75891046e..648e585d40a8e964c9b571928e0913a85f24177d 100644 (file)
@@ -95,7 +95,7 @@ struct gm12u320_device {
                struct drm_rect          rect;
                int frame;
                int draw_status_timeout;
-               struct dma_buf_map src_map;
+               struct iosys_map src_map;
        } fb_update;
 };
 
@@ -395,7 +395,8 @@ err:
                GM12U320_ERR("Frame update error: %d\n", ret);
 }
 
-static void gm12u320_fb_mark_dirty(struct drm_framebuffer *fb, const struct dma_buf_map *map,
+static void gm12u320_fb_mark_dirty(struct drm_framebuffer *fb,
+                                  const struct iosys_map *map,
                                   struct drm_rect *dirty)
 {
        struct gm12u320_device *gm12u320 = to_gm12u320(fb->dev);
@@ -438,7 +439,7 @@ static void gm12u320_stop_fb_update(struct gm12u320_device *gm12u320)
        mutex_lock(&gm12u320->fb_update.lock);
        old_fb = gm12u320->fb_update.fb;
        gm12u320->fb_update.fb = NULL;
-       dma_buf_map_clear(&gm12u320->fb_update.src_map);
+       iosys_map_clear(&gm12u320->fb_update.src_map);
        mutex_unlock(&gm12u320->fb_update.lock);
 
        drm_framebuffer_put(old_fb);