Displaying 12 results from an estimated 12 matches for "randr_crtc".
2019 Jan 20
1
[PATCH] adapt to HAS_DIRTYTRACKING_DRAWABLE_SRC changes
.../src/drmmode_display.c b/src/drmmode_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
+ s...
2016 Jun 03
2
[PATCH xf86-video-nouveau] Properly cleanup fb for reverse-prime-offload
...t;GetScreenPixmap(screen);
xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(crtc->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...
2016 Jun 27
0
[xf86-video-nouveau] Properly cleanup fb for reverse-prime-offload
...; xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(crtc->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 =...
2017 Apr 18
0
[PATCH xf86-video-amdgpu] Adapt to PixmapDirtyUpdateRec::src being a DrawablePtr
...ex 5e0c4133b..06103ed56 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -681,7 +681,7 @@ drmmode_crtc_prime_scanout_update(xf86CrtcPtr crtc, DisplayModePtr mode,
xorg_list_for_each_entry(dirty, &screen->pixmap_dirty_list,
ent) {
- if (dirty->src == crtc->randr_crtc->scanout_pixmap &&
+ if (amdgpu_dirty_src_equals(dirty, crtc->randr_crtc->scanout_pixmap) &&
dirty->slave_dst ==
drmmode_crtc->scanout[drmmode_crtc->scanout_id].pixmap) {
dirty->slave_dst =
@@ -1216,7 +1216,11 @@ static Bool drmmode_set_sc...
2013 Mar 29
28
[Bug 62914] New: ZaphodHeads doesn't work after upgrading to xorg 1.14
https://bugs.freedesktop.org/show_bug.cgi?id=62914
Priority: medium
Bug ID: 62914
Assignee: nouveau at lists.freedesktop.org
Summary: ZaphodHeads doesn't work after upgrading to xorg 1.14
QA Contact: xorg-team at lists.x.org
Severity: critical
Classification: Unclassified
OS: Linux (All)
Reporter:
2019 Jan 23
0
[PATCH] present: rotated crtc's work fine
...)
diff --git a/src/nouveau_present.c b/src/nouveau_present.c
index ebd5fcf..936475e 100644
--- a/src/nouveau_present.c
+++ b/src/nouveau_present.c
@@ -46,9 +46,6 @@ nouveau_present_crtc(WindowPtr window)
if (!crtc)
return NULL;
- if (crtc->rotatedData)
- return NULL;
-
return crtc->randr_crtc;
}
@@ -152,7 +149,7 @@ nouveau_present_flip_check(RRCrtcPtr rrcrtc, WindowPtr window,
ScrnInfoPtr scrn = xf86ScreenToScrn(window->drawable.pScreen);
xf86CrtcPtr crtc = rrcrtc->devPrivate;
- if (!scrn->vtSema || !drmmode_crtc_on(crtc))
+ if (!scrn->vtSema || !drmmode_crtc_on(crt...
2017 Apr 18
3
[PATCH xserver] Make PixmapDirtyUpdateRec::src a DrawablePtr
From: Michel Dänzer <michel.daenzer at amd.com>
This allows making the master screen's pixmap_dirty_list entries
explicitly reflect that we're now tracking the root window instead of
the screen pixmap, in order to allow Present page flipping on master
outputs while there are active slave outputs.
Define HAS_DIRTYTRACKING_DRAWABLE_SRC for drivers to check, but leave
2018 Aug 07
0
[ANNOUNCE] xorg-server 1.20.1
...'t being used
meson: don't put literal 'PACKAGE_STRING' and 'XORG_MAN_PAGE' in man pages
meson: use absolute paths in manpage substitutions
Keith Packard (6):
modesetting: Allow a DRM fd to be passed on command line with -masterfd [v2]
xfree86: Reset randr_crtc and randr_output early in xf86CrtcCloseScreen
xfree86: Wrap RRCrtcIsLeased and RROutputIsLeased to check for DIX structures
xf86-video-modesetting: Don't enable UNIVERSAL_PLANES separately
xf86-video-modesetting: Lease planes as well if using atomic
During reset/shutdown...
2013 Jun 27
21
[Bug 66255] New: Enabling Xinerama with nouveau driver causes Segmentation fault
https://bugs.freedesktop.org/show_bug.cgi?id=66255
Priority: medium
Bug ID: 66255
Assignee: nouveau at lists.freedesktop.org
Summary: Enabling Xinerama with nouveau driver causes
Segmentation fault
QA Contact: xorg-team at lists.x.org
Severity: critical
Classification: Unclassified
OS: Linux (All)
2016 Nov 17
0
[ANNOUNCE] xf86-video-ati 7.8.0
...n drmmode_create_bo_pixmap
Enable HW cursor support with PRIME slave output & 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...
2016 Nov 17
0
[ANNOUNCE] xf86-video-amdgpu 1.2.0
...redPixmap
Rotate and reflect cursor hotspot position for drmModeSetCursor2
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 buil...
2018 Jun 21
10
[Bug 106994] New: [PATCH] Fix null pointer dereference in drmmode_output_dpms
https://bugs.freedesktop.org/show_bug.cgi?id=106994
Bug ID: 106994
Summary: [PATCH] Fix null pointer dereference in
drmmode_output_dpms
Product: xorg
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: