Displaying 16 results from an estimated 16 matches for "drmmode_set_mode_major".
2019 Jan 19
0
[PATCH xf86-video-nouveau] Check for xf86CursorResetCursor()
If it's available, xorg-server calls it on each mode configuration change. It
does what xf86_reload_cursors does (and more), so we don't need to call
the latter anymore.
Avoids gcc 8.2 warning:
drmmode_display.c: In function ‘drmmode_set_mode_major’:
drmmode_display.c:525:2: warning: ‘xf86_reload_cursors’ is deprecated [-Wdeprecated-declarations]
xf86_reload_cursors(crtc->scrn->pScreen);
^~~~~~~~~~~~~~~~~~~
In file included from nv_type.h:10,
from nv_include.h:69,
from drmmode_display.c:36:
/usr/inc...
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:
2015 Nov 09
0
[ANNOUNCE] xorg-server 1.18.0
...ct -nolisten tcp becoming default
Xserver.man: document more transports for -nolisten & -listen options
Axel Davy (1):
present: Fix Async swap logic
Daniel Martin (3):
modesetting: Handle failures in setting a CRTC to a DRM mode properly
modesetting: Free output_ids in drmmode_set_mode_major()
modesetting: Remove XF86_CRTC_VERSION checks
Jammy Zhou (1):
present: Execute right away if target_msc equals current_msc
Julien Cristau (1):
Xext: fix build with --disable-xace
Martin Peres (1):
os: make sure the clientsWritable fd_set is initialized before use
Michel...
2015 Nov 09
0
[ANNOUNCE] xorg-server 1.18.0
...ct -nolisten tcp becoming default
Xserver.man: document more transports for -nolisten & -listen
options
Axel Davy (1):
present: Fix Async swap logic
Daniel Martin (3):
modesetting: Handle failures in setting a CRTC to a DRM mode
properly
modesetting: Free output_ids in drmmode_set_mode_major()
modesetting: Remove XF86_CRTC_VERSION checks
Jammy Zhou (1):
present: Execute right away if target_msc equals current_msc
Julien Cristau (1):
Xext: fix build with --disable-xace
Martin Peres (1):
os: make sure the clientsWritable fd_set is initialized before
use
Michel...
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(xf86CrtcPt...
2018 Oct 09
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...typedef struct {
drmModeConnectorPtr 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 xf86C...
2016 Apr 07
0
[ANNOUNCE] xf86-video-ati 7.7.0
...t_flip_handler
DRI2: Also clear dri2_flipping when client disconnects before event
Make DRM event queue xf86CrtcPtr based instead of ScrnInfoPtr based
Deal with modesets and page flips crossing on a CRTC
Remove check for XF86_CRTC_VERSION 3
Consolidate pScreen usage in drmmode_set_mode_major
Make Option "TearFree" effective for rotated/reflected outputs as well (v2)
present: Clear drmmode->fb_id before calling set_mode_major for unflip
present: Return rotated CRTCs from radeon_present_get_crtc
Factor out HW cursor checking code into drmmode_can_use_...
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 Apr 07
0
[ANNOUNCE] xf86-video-amdgpu 1.1.0
...2_flipping when client disconnects before event
Remove amdgpu_scanout_flip_handler
Make DRM event queue xf86CrtcPtr based instead of ScrnInfoPtr based
Deal with modesets and page flips crossing on a CRTC
Remove check for XF86_CRTC_VERSION 3
Consolidate pScreen usage in drmmode_set_mode_major
Make Option "TearFree" effective for rotated/reflected outputs as well
present: Clear drmmode->fb_id before calling set_mode_major for unflip
present: Return rotated CRTCs from amdgpu_present_get_crtc
Call AMDGPUBlockHandler_KMS before setting initial modes...
2016 Nov 17
0
[ANNOUNCE] xf86-video-ati 7.8.0
...e transform_region function for XF86_CRTC_VERSION >= 4
Add support for ScreenPtr::SyncSharedPixmap
Propagate failure from radeon_set_pixmap_bo
glamor: Fix leak of pixmap private when replacing BO
Free priv in amdgpu_set_pixmap_bo also if priv->bo == NULL
Simplify drmmode_set_mode_major error handling
Make sure drmmode_crtc->scanout[] are destroyed when not needed
present: Don't allow flipping when using a dedicated scanout buffer
dri2: Don't allow flipping when using a dedicated scanout buffer
present: Separate checks for flips vs unflips...
2016 Nov 17
0
[ANNOUNCE] xf86-video-amdgpu 1.2.0
...et_pixmap_bo in amdgpu_set_shared_pixmap_backing
glamor: Fix leak of pixmap private when replacing BO
Free priv in amdgpu_set_pixmap_bo also if priv->bo == NULL
Adapt to XF86_CRTC_VERSION 7
Call amdgpu_glamor_create_screen_resources after ModifyPixmapHeader
Simplify drmmode_set_mode_major error handling
Make sure drmmode_crtc->scanout[] are destroyed when not needed
present: Don't allow flipping when using a dedicated scanout buffer
dri2: Don't allow flipping when using a dedicated scanout buffer
present: Separate checks for flips vs unflips v2...
2015 Nov 19
0
[ANNOUNCE] xf86-video-amdgpu 1.0.0
...flipping
present: Fall back to modeset for unflip operation
present: Look at all CRTCs to determine if we can flip
present: Handle DPMS off in radeon_present_get_ust_msc
cleanup the entity rec
Avoid NULL dereference if drmmode_crtc_scanout_allocate fails
Simplify drmmode_set_mode_major() and avoid leaking memory.
Clean up amdgpu_dri2_create_buffer2()
git tag: xf86-video-amdgpu-1.0.0
http://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-1.0.0.tar.bz2
MD5: 251e86a21b7d4b5c3906b42c087c47b2 xf86-video-amdgpu-1.0.0.tar.bz2
SHA1: b82987f21ced741a2b88d555765e...
2015 Nov 12
0
[ANNOUNCE] xf86-video-ati 7.6.0
...sion of sarea.h
Stephen Chandler Paul (1):
Handle failures in setting a CRTC to a DRM mode properly
Tom St Denis (5):
dri2: Avoid calculation with undefined msc value
Simplify pick best crtc to fold two loops into one
Clean up allocation in RADEONInitVideo()
Simplify drmmode_set_mode_major() and avoid leaking memory.
Clean up radeon_dri2_create_buffer2()
git tag: xf86-video-ati-7.6.0
http://xorg.freedesktop.org/archive/individual/driver/xf86-video-ati-7.6.0.tar.bz2
MD5: 3c9c6c86765e9920923a3a40f853a67f xf86-video-ati-7.6.0.tar.bz2
SHA1: ff29e7688957056082e4b84da647b853cb788...
2018 Jan 13
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...dx(drmmode->fd, koutput,
+ DRM_MODE_PROP_ENUM, "link-status");
+
+ if ((idx > -1) &&
+ (koutput->prop_values[idx] == DRM_MODE_LINK_STATUS_BAD)) {
+ /* the connector got a link failure, re-set the current mode */
+ drmmode_set_mode_major(crtc, &crtc->mode, crtc->rotation,
+ crtc->x, crtc->y);
+
+ xf86DrvMsg(scrn->scrnIndex, X_WARNING,
+ "hotplug event: connector %u's link-state is BAD, "
+ "tried resetting...
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(-)
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)