]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/armada/armada_crtc.h
DRM: Armada: Add support for ARGB 32x64 or 64x32 hardware cursors
[karo-tx-linux.git] / drivers / gpu / drm / armada / armada_crtc.h
index 972da535921d25ce65a298100022552ca0efdd12..9c10a07e74922e05195ec58425371131822d53a5 100644 (file)
@@ -44,11 +44,20 @@ struct armada_crtc {
                uint32_t        spu_adv_reg;
        } v[2];
        bool                    interlaced;
+       bool                    cursor_update;
        uint8_t                 csc_yuv_mode;
        uint8_t                 csc_rgb_mode;
 
        struct drm_plane        *plane;
 
+       struct armada_gem_object        *cursor_obj;
+       int                     cursor_x;
+       int                     cursor_y;
+       uint32_t                cursor_hw_pos;
+       uint32_t                cursor_hw_sz;
+       uint32_t                cursor_w;
+       uint32_t                cursor_h;
+
        int                     dpms;
        uint32_t                cfg_dumb_ctrl;
        uint32_t                dumb_ctrl;