]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/ast/ast_drv.h
drm/ast: deal with bo reserve fail in dirty update path
[karo-tx-linux.git] / drivers / gpu / drm / ast / ast_drv.h
index 528429252f0f985058d80096d3f5021027cd2751..02e52d543e4b5dc1e55172602c76f783a3a40fef 100644 (file)
@@ -241,6 +241,8 @@ struct ast_fbdev {
        void *sysram;
        int size;
        struct ttm_bo_kmap_obj mapping;
+       int x1, y1, x2, y2; /* dirty rect */
+       spinlock_t dirty_lock;
 };
 
 #define to_ast_crtc(x) container_of(x, struct ast_crtc, base)