summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-10-11modetest: use 24 bit depth on the framebufferHEADmasterJesse Barnes1-1/+1
It's more compatible; at least the Intel driver now rejects 32 bit depths since it generally can't support real 32 bit framebuffers (supports 30, 36, and 64 bit, but not 32).
2011-09-26drmtest: make check should fail so hard on unable to open deviceDave Airlie1-4/+7
2011-09-26drm/test: handle usub being emptyDave Airlie1-1/+3
fixes a segfault on make check seen in tinderbox
2011-09-23xf86drm.h : wrap C code for C++ compilation/linkingTapani Pälli2-0/+16
To enable usage of xf86drm.h from C++ programs/frameworks. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> [ickle: also wrap xf86drmMode.h] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-09-22drm/i915: y tiling on i915G/i915GM is differentDaniel Vetter1-2/+4
Luckily the kernel has become extremely paranoid about such matters. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-09-22drm/intel: don't clobber bufmgr->pci_deviceDaniel Vetter1-1/+3
Otherwise it's pretty hard to differentiate the different chipset variants. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-09-21modeprint.c: use PRIu64 for printing uint64_tMatt Turner1-3/+4
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-09-18nouveau: assert argument cannot have side effectsMarcin Slusarz1-1/+2
... because argument is evaluated only if NDEBUG is not defined
2011-09-18drm mode: fix drmIoctl wrapperMarcin Slusarz1-1/+1
Both drmIoctl and ioctl define second argument as unigned long. Debugging/tracing tools (like strace or valgrind) on 64-bit machines see different request value for ioctls with 32nd bit set, because casting signed int to unsigned long extends 32nd bit to upper word, so 0x80000000 becomes 0xFFFFFFFF80000000) Nobody noticed because higher 32 bits are chopped off on their way to kernel.
2011-08-01intel: shared header for shader debuggingBen Widawsky2-1/+46
Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Cc: Chris Wilson <chris@chris-wilson.co.uk>
2011-07-20intel: fix the wrong method check for bo_get_subdataYuanhan Liu1-1/+1
It's going to call bo_get_subdata method, but not bo_subdata Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2011-07-12Specify the return type explicitly.Chih-Wei Huang1-1/+1
2011-06-04configure: version bump for 2.4.26 releaseChris Wilson1-1/+1
Push the new Intel API for use by mesa. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-06-04intel: Add interface to query aperture sizes.Chris Wilson4-1/+58
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-05-14libkms: All current BO_TYPE are 32bppChris Wilson1-1/+2
... so request a 32bpp dumb buffer rather than a 16bpp. Fixes modetest and friends. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-04-11configure: version bump for 2.4.25 releaseChris Wilson1-1/+1
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-04-04libdrm: (revised) vblank wait on crtc > 1Ilija Hadzic2-0/+4
Hi Alex, Enclosed is a revised version of the patch sent on Mar 18, against the master branch of the drm userspace (i.e. libdrm). Details summarised in this thread: http://lists.freedesktop.org/archives/dri-devel/2011-March/009499.html This patch reconciles libdrm with the the kernel change that Dave pushed this morning. It *supersedes* the previously sent patch (i.e. apply it to the master branch as it exists at the time of this writing, not as an incremental patch to the one sent previously). Regards, Ilija Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2011-04-04intel: Also handle mrb_exec fallback with ring == I915_EXEC_RENDERChris Wilson1-3/+6
Reported-by: Oliver McFadden <oliver.mcfadden@nokia.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-30drm_mode: fix types on recently added ioctlsDave Airlie1-8/+8
2011-03-26Cleanup gen2 tiling confusionDaniel Vetter1-4/+3
A tile on gen2 has a size of 2kb, stride of 128 bytes and 16 rows. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-21build: Update autotools configurationJavier Jardón4-29/+39
Replace some deprecated autoconf macros and use the new libtool syntax
2011-03-04libdrm: oops fix get cap return value.Dave Airlie1-1/+1
2011-03-04libkms: add dumb supportDave Airlie4-0/+226
this uses the drm cap interface to check if the dumb ioctl is supported.
2011-03-04Implement drmGetCap() to query device/driver capabilitiesBen Skeggs3-0/+22
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2011-03-04drm: add dumb interfaceDave Airlie2-0/+33
2011-03-03Build modetest for all chipsets, always build modeprintKristian Høgsberg1-11/+2
2011-03-03don't try to build modetest without libkmsMatt Turner1-4/+5
Signed-off-by: Matt Turner <mattst88@gmail.com>
2011-03-01configure: Bump version to 2.4.24Chris Wilson1-1/+1
New kernel headers. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-03-01intel: Add I915_PARAM_HAS_RELAXED_DELTAChris Wilson1-0/+1
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-22intel: Fixup for the fix for relaxed tiling on gen2Daniel Vetter1-1/+1
This is Fail. First patch to libdrm, and I've borked it up. Noticed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-22intel: fix relaxed tiling on gen2Daniel Vetter1-6/+10
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-02-17modetest: Do no flip twice to a current front bufferBenjamin Franzke1-1/+1
The incorrect order was: fb, other_fb, other_fb, fb_id, other_fb, ..
2011-02-17tests/modeprint: Output masks as hex numbersBenjamin Franzke1-2/+2
2011-02-17tests/modeprint: Remove needless dependency on drm_intelBenjamin Franzke1-3/+1
2011-02-17modetest: Create buffers using libkmsBenjamin Franzke2-56/+83
2011-02-17configure.ac: ac_define HAVE_RADEONBenjamin Franzke1-0/+3
2011-02-17libkms/radeon: Add backendnobled4-0/+252
Todo: What tiling should be set on scanout buffers? Haven't tested besides compiling it.
2011-02-14intel: Remember named boChris Wilson1-0/+28
... and if asked to open a bo by the same global name, return a fresh reference to the previously allocated buffer. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-14intel: Set the public handle after opening by nameChris Wilson1-0/+1
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-12intel: compile fix for previous commit after rebasingChris Wilson1-1/+1
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-01-12intel: Fallback to old exec if no mrb_exec is availableChris Wilson1-0/+4
Reported-by: Torsten Hilbrich <torsten.hilbrich@secunet.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33016 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-21nouveau: fix up reloc_emit() to accept NULL target bufferBen Skeggs1-9/+25
The nvc0 gallium drivers passes NULL here to indicate to the memory manager that a buffer is being used, but without creating an actual reloc. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-21nouveau: split pushbuf macros specific to nv04-nv50 out, and add nvc0Ben Skeggs5-40/+169
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-21nouveau: nvc0 drm has no concept of "notifier block"Ben Skeggs1-16/+21
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-19intel: Export CONSTANT_BUFFER addressing modeChris Wilson5-8/+21
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-10configure: Bump version to 2.4.23Chris Wilson1-1/+1
To export new kernel API for Intel's 2010Q4 release. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-10tests: Update for ENOENT returns from unknown handlesChris Wilson3-4/+4
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-07intel: Reorder need_fence vs fenced_command to avoid fences on gen4Chris Wilson1-4/+5
gen4+ hardware doesn't use fences for GPU access and the older kernel doesn't expect userspace to make such a mistake. So don't. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32190 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-07drm: don't do the create the node ourselves if we have udev.Dave Airlie1-0/+2
this can remove nodes it shouldn't, let udev run the show. this is needed for reliably GPU switch. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-03intel: If the command is fenced inform the kernelChris Wilson1-1/+2
... but only account for a fenced used if the object is tiled. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>