Re: [PATCH v2 11/12] drm/mgag200: Reserve video memory for cursor plane

2019-09-24 Thread Thomas Zimmermann
Hi Am 24.09.19 um 09:55 schrieb Gerd Hoffmann: Hi, + /* +* At the high end of video memory, we reserve space for +* buffer objects. The cursor plane uses this memory to store +* a double-buffered image of the current cursor. Hence, it's +* not

Re: [PATCH v2 11/12] drm/mgag200: Reserve video memory for cursor plane

2019-09-24 Thread Gerd Hoffmann
Hi, > + /* > + * At the high end of video memory, we reserve space for > + * buffer objects. The cursor plane uses this memory to store > + * a double-buffered image of the current cursor. Hence, it's > + * not available for framebuffers. > + */ > +

[PATCH v2 11/12] drm/mgag200: Reserve video memory for cursor plane

2019-09-23 Thread Thomas Zimmermann
The double-buffered cursor image is currently stored in video memory by creating two BOs and pinning them to VRAM. The exact location is chosen by VRAM helpers. The pinned cursor BOs can conflict with framebuffer BOs and prevent the primary plane from displaying its framebuffer. As a first step