search for: koutput

Displaying 15 results from an estimated 15 matches for "koutput".

Did you mean: output
2018 Oct 09
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...) { + drmmode_output->output_id = -1; return XF86OutputStatusDisconnected; + } switch (drmmode_output->mode_output->connection) { case DRM_MODE_CONNECTED: @@ -842,6 +850,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 (!prop) + continue; + + if (drm_property_type_is(...
2018 Jan 13
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...mmode->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 (!prop) + continue; + + if (drm_property_type_is(...
2015 May 20
2
[PATCH] fix a wrong use of a logical operator in drmmode_output_dpms()
...ay.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)) { if (!strcmp(props->name, "DPMS")) { mod...
2015 May 20
2
[PATCH] fix a wrong use of a logical operator in drmmode_output_dpms()
...; >> 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_...
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(-)
2018 Jun 21
10
[Bug 106994] New: [PATCH] Fix null pointer dereference in drmmode_output_dpms
....x.org Created attachment 140263 --> https://bugs.freedesktop.org/attachment.cgi?id=140263&action=edit Fix null pointer dereference in drmmode_output_dpms This fixes an Xorg crash when a Lenovo P50 laptop is undocked, disconnecting it from two external DisplayPort monitors. Checking for koutput == NULL has precedent in drmmode_output_get_modes. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20180621/634e8452/attachment....
2010 Feb 10
0
[PATCH] Revert "kms: work around some bong hits with dpms"
...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 (props && (props->flags && DRM_MODE_PROP_ENUM)) { diff --git a/src/nv_driver.c b/src/nv_driver.c index 3908347..7149759 100644 --- a/src/nv_driver.c +++ b/src/nv_driver.c @@ -331,10...
2010 Aug 05
0
[PATCH] drmmode: Add backlight support
...drmmode_output->backlight_active_level); drmModeFreeConnector(drmmode_output->mode_output); free(drmmode_output); output->driver_private = NULL; @@ -679,6 +853,8 @@ drmmode_output_dpms(xf86OutputPtr output, int mode) drmModeConnectorSetProperty(drmmode->fd, koutput->connector_id, mode_id, mode); + drmmode_output_dpms_backlight(output, drmmode_output->dpms_mode, mode); + drmmode_output->dpms_mode = mode; } static Bool @@ -711,6 +887,48 @@ drmmode_output_create_resources(xf86OutputPtr output) if (!drmmode_output->props) return; +...
2015 Jun 28
3
[PATCH] Take shift in crtc positions for ZaphodHeads configs into account.
...drmmode, int num) +drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num, int crtcshift) { NVPtr pNv = NVPTR(pScrn); xf86OutputPtr output; @@ -1296,8 +1296,8 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num) output->subpixel_order = subpixel_conv_table[koutput->subpixel]; output->driver_private = drmmode_output; - output->possible_crtcs = kencoder->possible_crtcs; - output->possible_clones = kencoder->possible_clones; + output->possible_crtcs = kencoder->possible_crtcs >> crtcshift; + output->possible_clones = kencode...
2002 Nov 28
8
Could not insatall Internet Explorer on linux through wine.
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: koutput Type: application/x-java-vm Size: 2881 bytes Desc: not available Url : http://www.winehq.org/pipermail/wine-users/attachments/20021128/a81741b4/koutput.class
2016 Feb 19
0
[ANNOUNCE] xf86-video-amdgpu 1.0.1
...eration is 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: 74a6b3cbde0e7dc48f4a54...
2010 Sep 21
1
[PATCH] Fix appliance build dependency problem
...ak 2>/dev/null; : mv $(VMLINUZ) $(VMLINUZ).bak 2>/dev/null; : if ! bash make.sh; then rm -f $@; exit 1; fi diff --git a/appliance/make.sh.in b/appliance/make.sh.in index 9150f55..ccaa757 100755 --- a/appliance/make.sh.in +++ b/appliance/make.sh.in @@ -168,10 +168,6 @@ __EOF__ ls -lh $koutput - # Now directly run the update script to copy/update the daemon in the - # initramfs. - cd appliance && bash update.sh - elif [ "@DIST@" = "DEBIAN" ]; then cd @top_builddir@/appliance debirf make -n debian -- 1.7.2.3
2015 Aug 06
0
[PATCH] Take shift in crtc positions for ZaphodHeads configs into account.
...nInfoPtr pScrn, drmmode_ptr drmmode, int num, int crtcshift) > { > NVPtr pNv = NVPTR(pScrn); > xf86OutputPtr output; > @@ -1296,8 +1296,8 @@ drmmode_output_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int num) > output->subpixel_order = subpixel_conv_table[koutput->subpixel]; > output->driver_private = drmmode_output; > > - output->possible_crtcs = kencoder->possible_crtcs; > - output->possible_clones = kencoder->possible_clones; > + output->possible_crtcs = kencoder->possible_crtcs >> cr...
2016 Apr 07
0
[ANNOUNCE] xf86-video-amdgpu 1.1.0
...or ssh clients 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 pixm...
2010 Oct 23
1
[PATCH] Make appliance-building work on systems with default library search paths differing from the appliance's
...find lib/modules/*/kernel -name '*.ko' $whitelist -a -print0 ) | - xargs -0 febootstrap-run initramfs -- rm + xargs0_bootstrap_run initramfs -- rm # Pull the kernel out into the current directory. We don't want it in # the initramfs image. cp initramfs/boot/vmlinuz* $koutput - @FEBOOTSTRAP_RUN@ initramfs -- rm -rf boot + bootstrap_run initramfs -- rm -rf boot # Minimize the image. - @FEBOOTSTRAP_MINIMIZE@ initramfs + bootstrap_minimize initramfs # Add some missing configuration files. if [ ! -f initramfs/etc/hosts ]; then @@ -160,7 +187,7 @@ __EOF__...