summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-05-13tests/amdgpu: add interface to adapt firmware requirementLeo Liu1-2/+5
Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-05-13tests/amdgpu: expand write/copy tests to computeAlex Deucher1-7/+34
Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-05-13tests/amdgpu: expand write/copy tests to computeAlex Deucher1-3/+6
Uses same packets as gfx. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-04-27Bump version for releaseKenneth Graunke1-1/+1
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2016-04-27intel/skl: Add missing SKL PCI IDsMichał Winiarski1-8/+16
Used by production devices: Intel(R) HD Graphics 510 Intel(R) HD Graphics 535 Intel(R) Iris(TM) Graphics 550 Intel(R) Iris(TM) Graphics P555 Signed-off-by: Michał Winiarski <michal.winiarski@intel.com> Tested-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2016-04-21freedreno: add dummy fd_bo_from_fbdev implementation when KGSL is disabledNicolas Dechesne1-0/+7
Make sure that this function is defined (even empty/dummy) when KGSL support is disabled, since it's part of the driver i/f and it was reported to cause symbols issues when building against musl libc implementation. Reported-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Rob Clark <robclark@freedesktop.org>
2016-04-12headers: Update drm.hDaniel Vetter1-26/+41
This needs the kernel patch to make sure the C++ protection is in place. Otherwise just new defines, using the right fixed-width types and some shuffling in where stuff is defined (the DRM_CAP list moved, but the #defines are the same). Generated using make headers_install. Generated fromd drm-misc commit 249c4f538b1aae55d41699f8bafc6cb762a7f48f Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-04-12headers: Update drm_mode.hDaniel Vetter1-51/+119
Generated using make headers_install. Only cosmetics&new definitions here now. Generated fromd drm-misc commit 249c4f538b1aae55d41699f8bafc6cb762a7f48f Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-04-12headers: Update drm_fourcc.hDaniel Vetter1-4/+13
Only real difference is switching to kernel types for fixed-width integers, like we should. Generated fromd drm-misc commit 249c4f538b1aae55d41699f8bafc6cb762a7f48f Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-04-12headers: Update drm_sarea.hDaniel Vetter1-0/+2
Generated using make headers_install. Only difference is a new value of SAREA_MAX for mips. Not that we ever shipped a dri1 driver on that platform probably ... Generated fromd drm-misc commit 249c4f538b1aae55d41699f8bafc6cb762a7f48f Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-04-12headers: Update drm_i915.hDaniel Vetter1-8/+35
Generated using make header_install. Generated fromd drm-intel-next-queued commit 55c561a708eec328822721233b1148119e80f5c3 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-04-12tests/kms-steal-crtc: Use correct includesDaniel Vetter1-0/+1
It was relying on drm_fourcc.h providing <stdint.h>, which is silly. Fix it. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
2016-04-12headers: Remove _DRM_GEMDaniel Vetter1-1/+0
This was purely a kernel-internal type used in a early patch version to add GEM bo mmap support. It was never used in-kernel in merged code nor in userspace. Nuke it to align with kernel headers. For reference the kernel patch: commit 05f51722a154e73019434bd020e50ddb941046c5 Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Wed Dec 11 11:34:32 2013 +0100 drm/bufs: remove handling of _DRM_GEM mappings Gone with the new gem vma offset manager from David. We can also ditch the uapi header definition from the enum since userspace never used this. It ended up in there purely for historical reasons (for reusing the old drm mmap code essentially), not because userspace ever needed it. Cc: David Herrmann <dh.herrmann@gmail.com> Reviewed-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2016-04-07tegra: Sync with Linux kernel UAPI headerThierry Reding1-1/+2
Update the UAPI header to the latest version in the Linux kernel. This changes the struct drm_tegra_gem_mmap to properly handle offsets on 64- bit architectures. See commit bdf765071a8b ("drm/tegra: gem: Return 64-bit offset for mmap(2)") in the Linux kernel (as of v4.1). Signed-off-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-04-07xf86drm: Fix spelling mistakesEric Engestrom2-2/+2
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-04-07tests: Fix spelling mistakesEric Engestrom1-3/+3
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-04-07intel: Fix spelling mistakesEric Engestrom5-5/+5
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-04-07freedreno: Fix spelling mistakesEric Engestrom2-3/+3
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-04-07exynos: Fix spelling mistakeEric Engestrom1-1/+1
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-04-07amdgpu: Fix spelling mistakesEric Engestrom1-2/+2
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-03-28proptest: print signed values correctlyEmil Velikov1-0/+2
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-03-28modetest: print signed values correctlyGustavo Padovan1-0/+2
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-03-28gitignore: ignore kms-steal-crtc and kms-universal-planesGustavo Padovan1-0/+2
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Reviewed-by; Emil Velikov <emil.l.velikov@gmail.com>
2016-03-28tests: add virtio_gpu to the driver listGustavo Padovan1-0/+1
modetest was failing to work with driver because it wasn't in the module list. Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-03-13freedreno: add support for FD_TIMESTAMPRob Clark3-0/+4
Signed-off-by: Rob Clark <robclark@freedesktop.org>
2016-03-13freedreno: update uapiRob Clark1-0/+1
In drm-next.. needed for timestamp queries in mesa. Signed-off-by: Rob Clark <robclark@freedesktop.org>
2016-03-02intel: Adding missing Broxton PCI IDs.Rodrigo Vivi1-1/+5
These IDs were already part of the kernel since: kernel commit 985dd4360fdf2533fe48a33a4a2094f2e4718dc0 Author: Imre Deak <imre.deak@intel.com> Date: Thu Jan 28 16:04:12 2016 +0200 drm/i915/bxt: update list of PCIIDs Cc: Venkateswarlu Vinjamuri <venkateswarlu.v.vinjamuri@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Clint Taylor <Clinton.A.Taylor@intel.com>
2016-02-25android: add virgl to be a valid driverChih-Wei Huang1-0/+2
To avoid the warning: external/libdrm/libkms/Android.mk:17: invalid GPU drivers: virgl Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-02-24vmwgfx: update uapiThomas Hellstrom1-158/+634
The libdrm shipped vmwgfx_drm.h is obsolete and incorrect. Update it to latest kernel version. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2016-02-18amdgpu/tests: fix tests for asics with one VCE instanceSonny Jiang1-8/+12
Reviewed-by: Leo Liu <leo.liu@amd.com> Signed-off-by: Sonny Jiang <sonny.jiang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-02-15add libdrm_vc4.pc to .gitignoreRob Clark1-0/+1
Signed-off-by: Rob Clark <robclark@freedesktop.org>
2016-02-15Bump version for releaseRob Clark1-1/+1
Signed-off-by: Rob Clark <robclark@freedesktop.org>
2016-02-12freedreno: add support for FD_MAX_FREQRob Clark3-0/+6
Only msm backend supports this. Sorry, if you are using kgsl, no time-elapsed query for you. Signed-off-by: Rob Clark <robclark@freedesktop.org>
2016-02-12freedreno: small refactor for get_paramRob Clark1-13/+30
Will simplify next commit. Signed-off-by: Rob Clark <robclark@freedesktop.org>
2016-02-12freedreno: update uapiRob Clark1-0/+1
In drm-next.. needed for time-elapsed (and future perf ctrs) in mesa. Signed-off-by: Rob Clark <robclark@freedesktop.org>
2016-02-04amdgpu: fix for submition with no ibsKen Wang2-0/+9
Avoid a crash if no IBs are specified. Signed-off-by: Ken Wang <Qingqing.Wang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
2016-02-04tests/amdgpu: add a test for cp dma copyAlex Deucher1-0/+18
Use the CP to copy data between buffers Reviewed-by: Ken Wang <Qingqing.Wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-02-04tests/amdgpu: make amdgpu_command_submission_sdma_copy_linear genericAlex Deucher1-10/+17
So it can be shared for CP tests. Reviewed-by: Ken Wang <Qingqing.Wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-02-04tests/amdgpu: add a test for cp dma fillAlex Deucher1-0/+18
Use the CP to fill to memory. Reviewed-by: Ken Wang <Qingqing.Wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-02-04tests/amdgpu: make amdgpu_command_submission_sdma_const_fill genericAlex Deucher1-8/+16
So it can be shared for CP tests. Reviewed-by: Ken Wang <Qingqing.Wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-02-04tests/amdgpu: add a test for cp write dataAlex Deucher1-0/+125
Use the CP to write data to memory. Reviewed-by: Ken Wang <Qingqing.Wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-02-04tests/amdgpu: make amdgpu_command_submission_sdma_write_linear genericAlex Deucher1-9/+18
So it can be shared for CP tests. Reviewed-by: Ken Wang <Qingqing.Wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-02-04tests/amdgpu: make amdgpu_sdma_test_exec_cs() generic (v2)Alex Deucher1-23/+28
Share with upcoming CP tests. v2: drop unnecessary forward declaration Reviewed-by: Ken Wang <Qingqing.Wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-02-04android: enable building static version of libdrmSumit Semwal1-0/+19
Android needs libdrm built statically for recovery; enable that as well. Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org> Cc: Chih-Wei Huang <cwhuang@linux.org.tw> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2016-02-04libkms: add libdrm to Requires.privateEmil Velikov1-0/+1
Analogous to last two changes (amdgpu and radeon). Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jakob Bornecrantz <wallbraker@gmail.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2016-02-04radeon: add libdrm to Requires.privateEmil Velikov1-0/+1
Equivalent to the amdgpu commit before. Additionally, when libdrm is installed to a 'non-default' location, users of libdrm_radeon will fail to build, as radeon_cs.h (and maybe others) won't have their dependencies (drm.h radeon_drm.h) fulfilled. Cc: Christian König <christian.koenig@amd.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2016-02-04amdgpu: add libdrm as private requirement/dependencyEmil Velikov1-0/+1
Otherwise libdrm.so won't end up in the --libs, when one static links libdrm_amdgpu. Cc: Christian König <christian.koenig@amd.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
2016-02-03vc4: Add headers and .pc files for VC4 userspace development.Eric Anholt7-0/+742
The headers were originally written in Mesa, imported to the kernel, and improved upon in vc4-gpu-tools. These come from the v-g-t copies and will replace the Mesa and v-g-t copies, and hopefully be used from new tests in igt, as well. v2: Fix linking against libdrm_intel instead of libdrm. v3: Drop Libs and Cflags since they'll be inherited from libdrm. v4: Switch to Requires.private. I was wrong about standard practice, apparently only Intel was doing plain Requires (sorry to all involved). Signed-off-by: Eric Anholt <eric@anholt.net>
2016-02-03util: Add support for vc4.Eric Anholt1-0/+1
This lets allows using modetest for overlay plane testing. Signed-off-by: Eric Anholt <eric@anholt.net>
2016-02-03vc4: Add the DRM header file.Eric Anholt2-0/+280
I'll build some libdrm C code soon, but for now this lets libdrm users use vc4 ioctls. Produced from headers_install of 1df59b8497f47495e873c23abd6d3d290c730505 (drm-next) in the kernel. Signed-off-by: Eric Anholt <eric@anholt.net>