search for: displaymodeptr

Displaying 13 results from an estimated 13 matches for "displaymodeptr".

2007 Jul 05
0
RANDR1.2 and LVDS
...Clearly the panel programming isn't /quite/ right yet... Signed-off-by: Matthew Garrett <mjg59 at srcf.ucam.org> diff --git a/src/nv_crtc.c b/src/nv_crtc.c index 5b646d0..3388a3a 100644 --- a/src/nv_crtc.c +++ b/src/nv_crtc.c @@ -945,8 +945,9 @@ nv_crtc_mode_set_regs(xf86CrtcPtr crtc, DisplayModePtr mode) } else regp->cursorConfig |= 0x02000000; - regp->CRTC[NV_VGA_CRTCX_FP_HTIMING] = 0; - regp->CRTC[NV_VGA_CRTCX_FP_VTIMING] = 0; + // FIXME: Figure out what these actually do + regp->CRTC[NV_VGA_CRTCX_FP_HTIMING] = 0xa; + regp->CRTC[NV_VGA_CRTCX_FP_V...
2009 Aug 12
4
TV-out modesetting DDX patches
[PATCH 1/3] kms: Don't hardcode the output properties [PATCH 2/3] kms: Implement output->get_property when RandR1.3 is available. [PATCH 3/3] kms: Add TV-out support src/drmmode_display.c | 403 ++++++++++++++++++++++++++++++++----------------- 1 files changed, 261 insertions(+), 142 deletions(-)
2008 May 16
19
[Bug 15949] New: LVDS-0 has wrapped screen with Randr1.2
http://bugs.freedesktop.org/show_bug.cgi?id=15949 Summary: LVDS-0 has wrapped screen with Randr1.2 Product: xorg Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org
2007 Sep 03
4
Fixes and workarounds for regressions and issues in the randr-1.2 branch
Hi, Please find attached the patches which I currently use on my desktop machine for dual head with the randr branch to fix the issues which I found. They may help others as well but may e.g. also disable the Xv blitter which might be working for some (but didn't on my card) - more information is found in the text comments in the patches. I have to hurry so this is short, will be back.
2018 Oct 09
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...r mode_output; drmModeEncoderPtr mode_encoder; drmModePropertyBlobPtr edid_blob; + drmModePropertyBlobPtr tile_blob; int num_props; drmmode_prop_ptr props; } drmmode_output_private_rec, *drmmode_output_private_ptr; @@ -477,6 +477,8 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode, continue; drmmode_output = output->driver_private; + if (drmmode_output->output_id == -1) + continue; output_ids[output_count] = drmmode_output->mode_output->connector_id; output_count++; @@ -770,7 +772,7 @@ static const xf86CrtcFuncsRec drmmode_crtc_funcs =...
2018 Jan 13
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...ec), 1); drmmode_crtc->mode_crtc = drmModeGetCrtc(drmmode->fd, - drmmode->mode_res->crtcs[num]); + mode_res->crtcs[num]); drmmode_crtc->drmmode = drmmode; drmmode_crtc->hw_crtc_index = num; @@ -842,6 +842,69 @@ drmmode_output_mode_valid(xf86OutputPtr output, DisplayModePtr mode) return MODE_OK; } +static int +koutput_get_prop_idx(int fd, drmModeConnectorPtr koutput, + int type, const char *name) +{ + int idx = -1; + + for (int i = 0; i < koutput->count_props; i++) { + drmModePropertyPtr prop = drmModeGetProperty(fd, koutput->props[i]); + + if (!...
2019 Jan 19
0
[PATCH xf86-video-nouveau] Check for xf86CursorResetCursor()
...ot;yes"], [have_list_h="no"], [#include <X11/Xdefs.h> diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 2480122..2ca49bd 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -522,7 +522,11 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode, crtc->funcs->gamma_set(crtc, crtc->gamma_red, crtc->gamma_green, crtc->gamma_blue, crtc->gamma_size); +#ifdef HAVE_XF86_CURSOR_RESET_CURSOR + xf86CursorResetCursor(crtc->scrn->pScreen); +#else xf86_reload_cursors(crtc->scrn->pScreen); +#endif...
2012 Nov 25
0
[ddx PATCH] add some missing newlines in error messages
--- src/drmmode_display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 803785d..4d2d09d 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -357,7 +357,7 @@ drmmode_set_mode_major(xf86CrtcPtr crtc, DisplayModePtr mode, if (ret) { xf86DrvMsg(crtc->scrn->scrnIndex, X_ERROR, - "failed to set mode: %s", strerror(-ret)); + "failed to set mode: %s\n", strerror(-ret)); return FALSE; } @@ -532,7 +532,7 @@ drmmode_gamma_set(xf86CrtcPtr crtc, CARD16 *red, CARD16 *gree...
2017 Apr 18
0
[PATCH xf86-video-amdgpu] Adapt to PixmapDirtyUpdateRec::src being a DrawablePtr
...pu_dirty_src_equals(ent, region_ent->slave_dst)) break; } } diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 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 == drm...
2016 Mar 11
0
[ANNOUNCE] xorg-server 1.18.2
...      modesetting: Allow CRTC transforms to actually take effect Olivier Fourdan (16):       vidmode: use appropriate API       vidmode: get rid of the CloseScreen wrapper       vidmode: use ScreenPtr instead of screen index       vidmode: remove VidModeGetMonitor()       vidmode: use appropriate DisplayModePtr type       vidmode: remove mode access from public API       vidmode: move display mode definitions       vidmode: rename DDX functions       vidmode: move to a separate library of its own       vidmode: remove redundant check       vidmode: remove redundant DIX function       xwayland: add partial...
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
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 Sep 16
0
[ANNOUNCE] xorg-server 1.18.99.2
...Do not set root clip when rootless xwayland: Update screen size on output removal vidmode: use appropriate API vidmode: get rid of the CloseScreen wrapper vidmode: use ScreenPtr instead of screen index vidmode: remove VidModeGetMonitor() vidmode: use appropriate DisplayModePtr type vidmode: remove mode access from public API vidmode: move display mode definitions vidmode: rename DDX functions vidmode: move to a separate library of its own vidmode: remove redundant check vidmode: remove redundant DIX function xwayland: add partial...