Displaying 7 results from an estimated 7 matches for "pixmapstopdirtytracking".
2019 Jan 20
1
[PATCH] adapt to HAS_DIRTYTRACKING_DRAWABLE_SRC changes
...display.c
index 2480122..f677e24 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -697,7 +697,13 @@ drmmode_set_scanout_pixmap(xf86CrtcPtr crtc, PixmapPtr ppix)
int c, total_width = 0, max_height = 0, this_x = 0;
if (!ppix) {
if (crtc->randr_crtc->scanout_pixmap) {
- PixmapStopDirtyTracking(crtc->randr_crtc->scanout_pixmap, screenpix);
+ PixmapStopDirtyTracking(
+#ifdef HAS_DIRTYTRACKING_DRAWABLE_SRC
+ &crtc->randr_crtc->scanout_pixmap->drawable,
+#else
+ crtc->randr_crtc->scanout_pixmap,
+#endif
+ screenpix);
if (drmmode && drmmode->...
2017 Apr 18
3
[PATCH xserver] Make PixmapDirtyUpdateRec::src a DrawablePtr
...amageRegister(screen->root ? &screen->root->drawable : &src->drawable,
- dirty_update->damage);
+ DamageRegister(src, dirty_update->damage);
xorg_list_add(&dirty_update->ent, &screen->pixmap_dirty_list);
return TRUE;
}
Bool
-PixmapStopDirtyTracking(PixmapPtr src, PixmapPtr slave_dst)
+PixmapStopDirtyTracking(DrawablePtr src, PixmapPtr slave_dst)
{
- ScreenPtr screen = src->drawable.pScreen;
+ ScreenPtr screen = src->pScreen;
PixmapDirtyUpdatePtr ent, safe;
xorg_list_for_each_entry_safe(ent, safe, &screen->pixma...
2016 Jun 03
2
[PATCH xf86-video-nouveau] Properly cleanup fb for reverse-prime-offload
...tc->scrn);
drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
+ drmmode_ptr drmmode = drmmode_crtc->drmmode;
int c, total_width = 0, max_height = 0, this_x = 0;
if (!ppix) {
- if (crtc->randr_crtc->scanout_pixmap)
+ if (crtc->randr_crtc->scanout_pixmap) {
PixmapStopDirtyTracking(crtc->randr_crtc->scanout_pixmap, screenpix);
+ if (drmmode && drmmode->fb_id) {
+ drmModeRmFB(drmmode->fd, drmmode->fb_id);
+ drmmode->fb_id = 0;
+ }
+ }
drmmode_crtc->scanout_pixmap_x = 0;
return TRUE;
}
--
2.7.4
2016 Jun 27
0
[xf86-video-nouveau] Properly cleanup fb for reverse-prime-offload
...rivate_ptr drmmode_crtc = crtc->driver_private;
> + drmmode_ptr drmmode = drmmode_crtc->drmmode;
> int c, total_width = 0, max_height = 0, this_x = 0;
> if (!ppix) {
> - if (crtc->randr_crtc->scanout_pixmap)
> + if (crtc->randr_crtc->scanout_pixmap) {
> PixmapStopDirtyTracking(crtc->randr_crtc->scanout_pixmap, screenpix);
> + if (drmmode && drmmode->fb_id) {
> + drmModeRmFB(drmmode->fd, drmmode->fb_id);
> + drmmode->fb_id = 0;
> + }
> + }
> drmmode_crtc->scanout_pixmap_x = 0;
> return TRUE;
> }
>
2013 Feb 06
4
[Bug 60369] New: src/nouveau_exa.c:142:31: error: 'CREATE_PIXMAP_USAGE_SHARED' undeclared (first use in this function)
https://bugs.freedesktop.org/show_bug.cgi?id=60369
Priority: medium
Bug ID: 60369
CC: airlied at freedesktop.org
Assignee: nouveau at lists.freedesktop.org
Summary: src/nouveau_exa.c:142:31: error:
'CREATE_PIXMAP_USAGE_SHARED' undeclared (first use in
this function)
QA Contact:
2016 Nov 17
0
[ANNOUNCE] xf86-video-ati 7.8.0
...put & Xorg > 1.18.99.901
Order unique chipsets according to first appearance in ati_pciids.csv
Remove PCI IDs and bus type from ati_pciids.csv
Sayōnara, AM_MAINTAINER_MODE!
Don't rely on randr_crtc->scanout_pixmap in drmmode_set_scanout_pixmap
Always call PixmapStopDirtyTracking in drmmode_set_scanout_pixmap
Consume all available udev events at once
Require xserver 1.10 or newer
Check Xorg version at runtime instead of build time in two places
Reindent code in radeon_dri2_create_buffer2
Refactor radeon_mode_hotplug
Use pRADEONEnt to find...
2016 Nov 17
0
[ANNOUNCE] xf86-video-amdgpu 1.2.0
...r2
Enable HW cursor support with PRIME slave output & Xorg > 1.18.99.901
Order unique chipsets according to first appearance in ati_pciids.csv
Sayōnara, AM_MAINTAINER_MODE!
Don't rely on randr_crtc->scanout_pixmap in drmmode_set_scanout_pixmap
Always call PixmapStopDirtyTracking in drmmode_set_scanout_pixmap
Consume all available udev events at once
present: Check tiling info for flips
Require xserver 1.10 or newer
Check Xorg version at runtime instead of build time in two places
Refactor amdgpu_mode_hotplug
Use pAMDGPUEnt to find both s...