search for: drmmode

Displaying 20 results from an estimated 41 matches for "drmmode".

Did you mean: drm_mode
2018 Oct 09
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...This seems to pass the test. No crashes, the connectors seem to come and go just fine. When plugging back in, X server doesn't redo a modeset even though it claims the screen is on. Same as modesetting though. Note that the TILE stuff is wholly untested. Just copied it from modesetting's drmmode_display.c. src/drmmode_display.c | 390 +++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 335 insertions(+), 55 deletions(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 04a0b57..6b8e3f3 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -46,7...
2018 Jan 13
0
[PATCH] drmmode: update logic for dynamic connectors, paths, and tiles
...et people to test this out, but to no avail. I don't have the hardware to verify this one way or the other. Ideally with this patch you should be (a) able to use a tiled monitor at 60hz with DP-MST and (b) be able to see connectors appear and disappear as you plug in more DP-MST monitors. src/drmmode_display.c | 377 ++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 323 insertions(+), 54 deletions(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index e748574..512c60a 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -46,7 +46,6 @@ static Bool drmm...
2010 Aug 05
0
[PATCH] drmmode: Add backlight support
Straight port of Matthias Hopf's KMS backlight code for xf86-video-intel, with reformatting and a couple of minor cleanups. Works fine on my MacBookAir2,1. Signed-off-by: Daniel Stone <daniel at fooishbar.org> --- src/drmmode_display.c | 269 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 268 insertions(+), 1 deletions(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 9b5d52d..7c3c250 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -35,13 +35,30 @@ #include &q...
2016 Jun 03
2
[PATCH xf86-video-nouveau] Properly cleanup fb for reverse-prime-offload
drmmode_set_scanout_pixmap(pix) adds drmmod->fb_id through a call to drmmode_xf86crtc_resize(), but on a subsequent drmmode_set_scanout_pixmap(NULL) it would not remove the fb. This keeps the crtc marked as busy, which causes the dgpu to not being able to runtime suspend, after an output attached to th...
2015 Jun 28
3
[PATCH] Take shift in crtc positions for ZaphodHeads configs into account.
In multi-x-screen ZaphodHeads configurations, there isn't a one-to-one mapping of kernel provided drmmode crtc index to the index of the corresponding xf86Crtc inside the xf86CrtcConfig crtc array anymore, ie. for kernel provided drmmode->mode_res->crtcs[i], the i'th crtc won't correspond to the xf86Crtc in the i'th slot of the x-screens xf86CrtcConfig anymore, once ZaphodHeads has on...
2019 Jan 20
1
[PATCH] adapt to HAS_DIRTYTRACKING_DRAWABLE_SRC changes
Apparently it now wants a drawable. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- No idea about whether this is correct. Saw the new warnings though. src/drmmode_display.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/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, Pixma...
2015 Aug 06
0
[PATCH] Take shift in crtc positions for ZaphodHeads configs into account.
...ssues for others who try and give up with ZaphodHeads. Any objections if I just push this out? On Sat, Jun 27, 2015 at 8:33 PM, Mario Kleiner <mario.kleiner.de at gmail.com> wrote: > In multi-x-screen ZaphodHeads configurations, there isn't a > one-to-one mapping of kernel provided drmmode crtc index > to the index of the corresponding xf86Crtc inside the > xf86CrtcConfig crtc array anymore, ie. for kernel provided > drmmode->mode_res->crtcs[i], the i'th crtc won't correspond > to the xf86Crtc in the i'th slot of the x-screens xf86CrtcConfig > anymore...
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 Jan 20
1
[PATCH] nouveau: put cursor BO in GART
Keeping it in VRAM wastes CPU time, because cursor_set ioctl reads handed BO back to RAM, just to write it to actual cursor BO. Here (nv92/core i7), this patch decreases overall cpu usage of drmmode_load_cursor_argb from 4.6ms to ~90us and lets nv50_crtc_cursor_set disappear from perf traces. --- I considered accelerating kernel-side copying with GPU, but it turns out that: - it's slower (120-150us), with frequent bursts (up to 5ms) - not applicable to <nv50 hw, which needs to transform...
2016 Jun 27
0
[xf86-video-nouveau] Properly cleanup fb for reverse-prime-offload
Hi Ilia, Ben, et al. Can I please get a review of this patch, and assuming the review is favorable, can someone please push this ? Regards, Hans p.s. Is it ok if I request push rights to the nouveau repos / group at freedesktop.org ? On 03-06-16 14:46, Hans De Goede wrote: > drmmode_set_scanout_pixmap(pix) adds drmmod->fb_id through a call > to drmmode_xf86crtc_resize(), but on a subsequent > drmmode_set_scanout_pixmap(NULL) it would not remove the fb. > > This keeps the crtc marked as busy, which causes the dgpu to not > being able to runtime suspend, after...
2020 Jul 18
1
[PATCH 1/2] drmmode: fix screen resize without acceleration
This got broken with commit 86024cee back in 2014! drmmode_pixmap/nouveau_pixmap expect there to be EXA wrapping around the pixmap now, which is not there without accel. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- src/drmmode_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drmmode_display.c b/src/drmmo...
2020 Aug 16
1
[PATCH 1/2] drmmode: make event handler leave a note that there are stuck events
We don't really expect to have too many events in the queue. If there are, then the algorithm we use isn't appropriate. Add a warning when the queue gets very long, as it's an indication of something having gone wrong. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- src/drmmode_display.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 2d3229c..45292c4 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -159,6 +159,8 @@ drmmode_events = { .prev = &drmmode_events, }; +static bool war...
2010 Feb 10
0
[PATCH] Revert "kms: work around some bong hits with dpms"
This reverts commit 98c9e4edb58374f18249e5c9c53b392fb8b4a1d1. AFAIK it's no longer needed. Signed-off-by: Francisco Jerez <currojerez at riseup.net> --- src/drmmode_display.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...
2015 May 20
2
[PATCH] fix a wrong use of a logical operator in drmmode_output_dpms()
This is probably a typo error which has been introduced in 2009... This fixes the following warning detected by Clang : drmmode_display.c:907:30: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (props && (props->flags && DRM_MODE_PROP_ENUM)) { Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com> --- src/drmmode_display.c | 2 +- 1 fil...
2017 Apr 18
3
[PATCH xserver] Make PixmapDirtyUpdateRec::src a DrawablePtr
...cking related changes are only compile tested. The rest is smoke tested with the modesetting, amdgpu and radeon drivers. dix/pixmap.c | 24 +++++++++++------------- hw/xfree86/drivers/modesetting/driver.c | 10 +++++----- hw/xfree86/drivers/modesetting/drmmode_display.c | 5 +++-- hw/xfree86/drivers/modesetting/drmmode_display.h | 2 +- include/pixmap.h | 5 +++-- include/pixmapstr.h | 3 ++- include/scrnintstr.h | 6 +++--- randr/randrstr.h...
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...
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
2015 May 20
2
[PATCH] fix a wrong use of a logical operator in drmmode_output_dpms()
...i.thm.de> wrote: > looks good to me! :) > > Feel free to add my R-b. > > On 20.05.2015 17:08, Samuel Pitoiset wrote: >> >> This is probably a typo error which has been introduced in 2009... >> This fixes the following warning detected by Clang : >> >> drmmode_display.c:907:30: warning: use of logical '&&' with constant >> operand [-Wconstant-logical-operand] >> if (props && (props->flags && DRM_MODE_PROP_ENUM)) { >> >> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com> >...
2019 Jan 29
0
[ANNOUNCE] xf86-video-nouveau 1.0.16
...): modesetting: Validate the atom for enum properties Ilia Mirkin (10): man: remove reference to glamor under DRI option dri3: remove bogus condition for creating pixmap nv50/xv: add support for depth 30 xv output dri3: don't check permissions on render node drmmode: provide better error when failing to set gamma drmmode: update logic for dynamic connectors, paths, and tiles present: rotated crtc's work fine Revert "wfb: Fix missing init function decls behind FB_ACCESS_WRAPPER" update known chipsets list Bump version...
2014 Sep 03
0
[ANNOUNCE] xf86-video-nouveau 1.0.11
.../renderaccel glamor: initial support (no dri) glamor: provide dri3 support when enabled default to glamor on maxwell sync: fix build against DRI3-less server glamor: fix randr resize dri2: shuffle some functions around dri2: move away from directly touching drmmode on page flips dri2: move page flip handling out of drmmode kms: implement a more generic event mechanism present: initial support another build fix... fix a harmless typo present: use drmmode_head() where it's appropriate fix glamor header check Dave A...