search for: drmmode_output_dpm

Displaying 19 results from an estimated 19 matches for "drmmode_output_dpm".

Did you mean: drmmode_output_dpms
2015 May 20
2
[PATCH] fix a wrong use of a logical operator in drmmode_output_dpms()
...Samuel Pitoiset <samuel.pitoiset at gmail.com> --- src/drmmode_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 7c1d2bb..161bccd 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -904,7 +904,7 @@ drmmode_output_dpms(xf86OutputPtr output, int mode) for (i = 0; i < koutput->count_props; i++) { props = drmModeGetProperty(drmmode->fd, koutput->props[i]); - if (props && (props->flags && DRM_MODE_PROP_ENUM)) { + if (props && (props->flags & DRM_MODE_PROP_ENUM))...
2015 May 20
2
[PATCH] fix a wrong use of a logical operator in drmmode_output_dpms()
...rmmode_display.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/src/drmmode_display.c b/src/drmmode_display.c >> index 7c1d2bb..161bccd 100644 >> --- a/src/drmmode_display.c >> +++ b/src/drmmode_display.c >> @@ -904,7 +904,7 @@ drmmode_output_dpms(xf86OutputPtr output, int mode) >> for (i = 0; i < koutput->count_props; i++) { >> props = drmModeGetProperty(drmmode->fd, >> koutput->props[i]); >> - if (props && (props->flags && DRM_MODE_PROP_ENUM)) { &...
2015 May 21
2
[PATCH] fix a wrong use of a logical operator in drmmode_output_dpms()
On 21 May 2015 at 03:26, Samuel Pitoiset <samuel.pitoiset at gmail.com> wrote: > > > On 05/20/2015 07:13 PM, Ilia Mirkin wrote: >> >> This is obviously a bug, but one that has been there for some time. >> Please figure out what this is guarding, and confirm that the feature >> continues to work. > > > Sure, but do you have any ideas how to test this
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: Driver/nouveau Assignee: nouveau at lists.freedesktop.org Reporte...
2015 Dec 10
2
[ANNOUNCE] xf86-video-nouveau 1.0.12
...Mario Kleiner (3): present: Fixup return type of nouveau_present_init() Add Option "DRI" to allow selection of maximum DRI level. (v2) Take shift in crtc positions for ZaphodHeads configs into account. Samuel Pitoiset (1): fix a wrong use of a logical operator in drmmode_output_dpms() Vadim Rutkovsky (1): Adapt to new dirty tracking api git tag: xf86-video-nouveau-1.0.12 http://xorg.freedesktop.org/archive/individual/driver/xf86-video-nouveau-1.0.12.tar.bz2 MD5: dc79910c7b9e32321cefc7af250c7765 xf86-video-nouveau-1.0.12.tar.bz2 SHA1: 480a8e1da05683e9bbedba61885cd56...
2015 Dec 10
2
[ANNOUNCE] xf86-video-nouveau 1.0.12
...Mario Kleiner (3): present: Fixup return type of nouveau_present_init() Add Option "DRI" to allow selection of maximum DRI level. (v2) Take shift in crtc positions for ZaphodHeads configs into account. Samuel Pitoiset (1): fix a wrong use of a logical operator in drmmode_output_dpms() Vadim Rutkovsky (1): Adapt to new dirty tracking api git tag: xf86-video-nouveau-1.0.12 http://xorg.freedesktop.org/archive/individual/driver/xf86-video-nouveau-1.0.12.tar.bz2 MD5: dc79910c7b9e32321cefc7af250c7765 xf86-video-nouveau-1.0.12.tar.bz2 SHA1: 480a8e1da05683e9bbedba61885cd56...
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(-)
2010 Aug 05
0
[PATCH] drmmode: Add backlight support
...,10 @@ typedef struct { drmModePropertyBlobPtr edid_blob; int num_props; drmmode_prop_ptr props; + char *backlight_iface; + int32_t backlight_active_level; + int32_t backlight_max; + int dpms_mode; } drmmode_output_private_rec, *drmmode_output_private_ptr; static void drmmode_output_dpms(xf86OutputPtr output, int mode); @@ -160,6 +182,155 @@ drmmode_ConvertToKMode(ScrnInfoPtr scrn, drmModeModeInfo *kmode, } static void +drmmode_backlight_set(xf86OutputPtr output, int level) +{ + drmmode_output_private_ptr drmmode_output = output->driver_private; + char path[BACKLIGHT_PATH_L...
2015 Oct 08
0
[ANNOUNCE] xf86-video-omap 0.4.4
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Khem Raj (1): drmmode_output_dpms: Replace logical && with bitwise & operation Rob Clark (1): NEWS: Bump version to 0.4.4 Robert Nelson (1): add support for AM572x in the DDX Steve Wilkins (2): drmmode: Fix crash with multi-crtc page-flip drmmode: Fix leaked fb in case of failed p...
2015 Oct 08
0
[ANNOUNCE] xf86-video-freedreno 1.4.0
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Emil Velikov (1): configure: drop unneeded AC_SUBST statements Khem Raj (1): drmmode_output_dpms: Replace logical && with bitwise & operation Nicolas Dechesne (1): remove left over header file from the conversion to libdrm_freedreno Rob Clark (4): xa: fix leaked xa tracker kms: add additional output names fix a couple error-path leaks NEWS:...
2016 Feb 19
0
[ANNOUNCE] xf86-video-amdgpu 1.0.1
...disabled (v2) Don't advertise any PRIME offloading capabilities without acceleration Load fb module before glamoregl/shadow modules HAS_DIRTYTRACKING_ROTATION also supports multiple CRTCs Bump version for 1.0.1 release Mykola Lysenko (2): Check for NULL koutput in drmmode_output_dpms Initialize drmmode_crtc dpms_mode to DPMSModeOff git tag: xf86-video-amdgpu-1.0.1 http://xorg.freedesktop.org/archive/individual/driver/xf86-video-amdgpu-1.0.1.tar.bz2 MD5: f989e7a564afca970631a7b37ab78004 xf86-video-amdgpu-1.0.1.tar.bz2 SHA1: 74a6b3cbde0e7dc48f4a54dcdda479af18c0ebca xf...
2018 Apr 02
0
[ANNOUNCE] xorg-server 1.19.99.903
...config --variable=includedir meson: Distribute more SDK headers meson: Add pixman-1 to required modules in xorg-server.pc Tobias Klausmann (2): glamor: sanitze handling of "Debug" Option for "dmabuf_capable" modesetting/drmmode: add NULL pointer check in drmmode_output_dpms git tag: xorg-server-1.19.99.903 https://xorg.freedesktop.org/archive/individual/xserver/xorg-server-1.19.99.903.tar.bz2 MD5: 514ca5990c32a9530985e0fc1dd1d29b xorg-server-1.19.99.903.tar.bz2 SHA1: e9bcc93b67786a5809529c74d44b07243de02863 xorg-server-1.19.99.903.tar.bz2 SHA256: 84e0895ce72b127...
2010 Feb 10
0
[PATCH] Revert "kms: work around some bong hits with dpms"
...splay.c | 3 --- src/nv_driver.c | 2 -- src/nv_type.h | 1 - 3 files changed, 0 insertions(+), 6 deletions(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 7c45d9c..a91741d 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -651,9 +651,6 @@ drmmode_output_dpms(xf86OutputPtr output, int mode) drmmode_ptr drmmode = drmmode_output->drmmode; int mode_id = -1, i; - if (!NVPTR(output->scrn)->allow_dpms) - return; - for (i = 0; i < koutput->count_props; i++) { props = drmModeGetProperty(drmmode->fd, koutput->props[i]); if (p...
2013 Jun 06
0
[PATCH 2/2] nouveau: add libbacklight and randr property support.
...l dispatch_me; } drmmode_flipevtcarrier_rec, *drmmode_flipevtcarrier_ptr; +#ifdef HAVE_LIBBACKLIGHT +#define BACKLIGHT_NAME "Backlight" +#define BACKLIGHT_DEPRECATED_NAME "BACKLIGHT" + +static Atom backlight_atom, backlight_deprecated_atom; +#endif + static void drmmode_output_dpms(xf86OutputPtr output, int mode); static drmmode_ptr @@ -717,6 +733,9 @@ drmmode_output_destroy(xf86OutputPtr output) drmModeFreeProperty(drmmode_output->props[i].mode_prop); free(drmmode_output->props[i].atoms); } +#ifdef HAVE_LIBBACKLIGHT + backlight_destroy(drmmode_output->ba...
2015 Dec 10
0
[ANNOUNCE] xf86-video-nouveau 1.0.12
...present: Fixup return type of nouveau_present_init() > Add Option "DRI" to allow selection of maximum DRI level. (v2) > Take shift in crtc positions for ZaphodHeads configs into account. > > Samuel Pitoiset (1): > fix a wrong use of a logical operator in drmmode_output_dpms() > > Vadim Rutkovsky (1): > Adapt to new dirty tracking api > > git tag: xf86-video-nouveau-1.0.12 > > > http://xorg.freedesktop.org/archive/individual/driver/xf86-video-nouveau-1.0.12.tar.bz2 > MD5: dc79910c7b9e32321cefc7af250c7765 xf86-video-nouveau-1.0.12.tar...
2016 Apr 07
0
[ANNOUNCE] xf86-video-amdgpu 1.1.0
...nts Identify DRM event queue entries by sequence number instead of by pointer Update manpage entry for Option "TearFree" glamor: Force GPU rendering to/from pixmaps created via DRI3 Bump version for 1.1.0 release Mykola Lysenko (2): Check for NULL koutput in drmmode_output_dpms Initialize drmmode_crtc dpms_mode to DPMSModeOff Tom St Denis (1): Move memset() after variable declarations jimqu (2): Move amdgpu_glamor_destroy_pixmap before amdgpu_glamor_create_pixmap glamor: Return NullPixmap on failure to create shareable pixmap git tag: xf86-vide...
2013 Jun 06
1
[PATCH 1/2] nouveau/mode: split out create_ranged_atom
From: Dave Airlie <airlied at redhat.com> This is preperation for the backlight support code. Signed-off-by: Dave Airlie <airlied at redhat.com> --- src/drmmode_display.c | 54 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 34 insertions(+), 20 deletions(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 6033a6d..ad7bc1f 100644 ---
2018 Oct 09
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...tput->edid_blob); + if (drmmode_output->tile_blob) + drmModeFreePropertyBlob(drmmode_output->tile_blob); for (i = 0; i < drmmode_output->num_props; i++) { drmModeFreeProperty(drmmode_output->props[i].mode_prop); free(drmmode_output->props[i].atoms); @@ -918,6 +980,9 @@ drmmode_output_dpms(xf86OutputPtr output, int mode) drmmode_ptr drmmode = drmmode_output->drmmode; int mode_id = -1, i; + if (!koutput) + return; + for (i = 0; i < koutput->count_props; i++) { props = drmModeGetProperty(drmmode->fd, koutput->props[i]); if (props && (props->fla...
2012 Feb 15
11
[Patches][nouveau/ddx]: Improvements to bufferswap implementation and timestamping
Hi, here a set of patches against the nouveau-ddx. This is an extended and revised set, based on Francisco Jerez feedback from autumn last year. [1/9] Makes pageflipping work again on X-Server 1.12rc. It apparently stopped working somewhere around Xorg 1.11+. [2/9] Implements handling of pageflip completion events from the kernel. Francisco Jerez argument against including it was that the