search for: nouveau_allocate_surfac

Displaying 12 results from an estimated 12 matches for "nouveau_allocate_surfac".

2014 Jul 01
1
[Bug 80738] New: Possible wrong variable used in nouveau_allocate_surface
https://bugs.freedesktop.org/show_bug.cgi?id=80738 Priority: medium Bug ID: 80738 Assignee: nouveau at lists.freedesktop.org Summary: Possible wrong variable used in nouveau_allocate_surface QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified OS: All Reporter: pstglia at gmail.com Hardware: Other Status: NEW Version: unspecified Component: Driver/nouveau...
2015 Mar 14
1
[PATCH ddx] Add support for VRAM-less devices to the ddx
With this patch the DDX almost works with GK20A, the missing piece is adding COHERENT mappings to the right places. ;-) If you specify NOUVEAU_BO_APER the kernel will truncate valid_domains to the domains specified at creation time. This means that as long as we only specify the correct domain in nouveau_allocate_surface the effect is still the same. Signed-off-by: Maarten Lankhorst <dev at mblankhorst.nl> --- The only thing still missing is adding NOUVEAU_BO_COHERENT to nouveau_allocate_surface, the scratch buffer, and nouveau_exa_scratch. After that xorg stays up long enough to crash in nouveau_exa_share_...
2014 Sep 09
1
[PATCH 1/2] accel_common: do not initialise the flags twice
...f-by: Emil Velikov <emil.l.velikov at gmail.com> --- src/nv_accel_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nv_accel_common.c b/src/nv_accel_common.c index 4484c1c..eebb0ab 100644 --- a/src/nv_accel_common.c +++ b/src/nv_accel_common.c @@ -37,7 +37,7 @@ nouveau_allocate_surface(ScrnInfoPtr scrn, int width, int height, int bpp, Bool tiled = (usage_hint & NOUVEAU_CREATE_PIXMAP_TILED); Bool shared = FALSE; union nouveau_bo_config cfg = {}; - int flags = NOUVEAU_BO_MAP | (bpp >= 8 ? NOUVEAU_BO_VRAM : 0); + int flags; int cpp = bpp / 8, ret; #ifdef NOUVEAU_P...
2011 Dec 07
0
[PATCH] dri2: fix allocation of Z16 depth attachments
...Screen, pDraw->width, - pDraw->height, pDraw->depth, + pDraw->height, depth, usage_hint); } diff --git a/src/nv_accel_common.c b/src/nv_accel_common.c index 3219dbe..51cc66a 100644 --- a/src/nv_accel_common.c +++ b/src/nv_accel_common.c @@ -71,7 +71,7 @@ nouveau_allocate_surface(ScrnInfoPtr scrn, int width, int height, int bpp, tile_mode = 0x00; if (usage_hint & NOUVEAU_CREATE_PIXMAP_ZETA) - tile_flags = 0x1100; /* S8Z24 */ + tile_flags = (bpp == 16) ? 0x0100 : 0x1100; /* Z16 : Z24S8 */ else tile_flags = 0xfe00; @@ -90,7 +90,7 @@ nouveau_al...
2015 Dec 10
2
[ANNOUNCE] xf86-video-nouveau 1.0.12
...vent some crashes check memory allocation in nouveau_glamor_set_shared_pixmap_backing fix null pointer deref Make the ddx load with platform devices Use the correct class and shader ops for GK20A. Use drmGetRenderDeviceNameFromFd to obtain the dri3 node. Simplify nouveau_allocate_surface's pitch calculation. Try using EXA ops harder in drmmode_fbcon_copy fallback Actually do a clear instead of doing a bogus copy. Mario Kleiner (3): present: Fixup return type of nouveau_present_init() Add Option "DRI" to allow selection of maximum DRI level. (...
2015 Dec 10
2
[ANNOUNCE] xf86-video-nouveau 1.0.12
...vent some crashes check memory allocation in nouveau_glamor_set_shared_pixmap_backing fix null pointer deref Make the ddx load with platform devices Use the correct class and shader ops for GK20A. Use drmGetRenderDeviceNameFromFd to obtain the dri3 node. Simplify nouveau_allocate_surface's pitch calculation. Try using EXA ops harder in drmmode_fbcon_copy fallback Actually do a clear instead of doing a bogus copy. Mario Kleiner (3): present: Fixup return type of nouveau_present_init() Add Option "DRI" to allow selection of maximum DRI level. (...
2015 Sep 03
10
[PATCH mesa 0/4] nv30: Various fixes
Hi All, Here is a bunch of fixes for nv30 cards, the first patch is a resend of a patch I send a while back. AFAICT that one is ready for merging, but it is not entirely clear to me what the process is for getting (nouveau) mesa patches merged. Should I request commit rights, and push my own patches once they have been reviewed ? Regards, Hans
2015 Dec 10
0
[ANNOUNCE] xf86-video-nouveau 1.0.12
...heck memory allocation in nouveau_glamor_set_shared_pixmap_backing > fix null pointer deref > Make the ddx load with platform devices > Use the correct class and shader ops for GK20A. > Use drmGetRenderDeviceNameFromFd to obtain the dri3 node. > Simplify nouveau_allocate_surface's pitch calculation. > Try using EXA ops harder in drmmode_fbcon_copy fallback > Actually do a clear instead of doing a bogus copy. > > Mario Kleiner (3): > present: Fixup return type of nouveau_present_init() > Add Option "DRI" to allow sele...
2015 Aug 10
2
"enable dri3 support without glamor" causes gnome-shell regression on nv4x
...l just passes in NULL for creating the bo, which > means that there's no way to recover the "are you swizzled" > information after-the-fact. > > Presumably you should create a "nv04" bo config section in the union, That already exists, and indeed gets set by the nouveau_allocate_surface function from src/nv_accel_common.c from the ddx, > and just pass the single "swizzled" bit through. I'm not sure what, if > anything, is required on the kernel side for that. I don't think > there's any optionality in how the swizzling is done for pre-nv50. > &g...
2015 Aug 03
2
"enable dri3 support without glamor" causes gnome-shell regression on nv4x
Hi, On 03-08-15 17:36, Ilia Mirkin wrote: > On Mon, Aug 3, 2015 at 9:02 AM, Hans de Goede <hdegoede at redhat.com> wrote: >> Hi, >> >> On 30-07-15 16:09, Ilia Mirkin wrote: >>> >>> FWIW this is a fail on nv50+ as well. See for example >>> https://bugs.freedesktop.org/show_bug.cgi?id=91445 >>> >>> My suspicion is that this is
2012 Mar 20
26
[Bug 47556] New: nouveau driver can`t handle xrandr requests
https://bugs.freedesktop.org/show_bug.cgi?id=47556 Bug #: 47556 Summary: nouveau driver can`t handle xrandr requests Classification: Unclassified Product: xorg Version: 7.6 (2010.12) Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau
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