Re: [PATCH libdrm] configure.ac: pthread-stubs is not a thing on GNU/kFreeBSD

2017-04-05 Thread Andreas Boll
p.org/archives/xcb/2016-November/010896.html >> >> Cc: Andreas Boll >> Reported-by: Andreas Boll >> Signed-off-by: Emil Velikov >> --- >> I'm slightly inclined to go a single *gnu* but I'm not 100% sure if that >> won't catch some corner c

Re: [PATCH libdrm] Remove unused tests/drmstat.c

2017-02-01 Thread Andreas Boll
Reviewed-by: Andreas Boll 2017-02-01 16:32 GMT+01:00 Emil Velikov : > From: Emil Velikov > > Earlier commit removed all the legacy 'tests' but a file was left > danglig. > > Cc: Andreas Boll > Reported-by: Andreas Boll > Fixes: 0c80fddd1d0 "tests: remov

Re: [PATCH v1 2/2] drm/radeon: make MacBook Pro d3_delay quirk more generic

2017-02-01 Thread Andreas Boll
2017-01-30 21:41 GMT+01:00 Bjorn Helgaas : > The PCI Power Management Spec, r1.2, sec 5.6.1, requires a 10 millisecond > delay when powering on a device, i.e., transitioning from state D3hot to > D0. > > Apparently some devices require more time, and d1f9809ed131 ("drm/radeon: > add quirk for d3 de

Re: [PATCH v2 0/2] drm amdgpu/radeon: clean up d3_delay usage

2017-02-01 Thread Andreas Boll
For the series: Reviewed-by: Andreas Boll 2017-02-01 17:22 GMT+01:00 Bjorn Helgaas : > amdgpu doesn't need to touch pdev->d3_delay at all. > > radeon has a d3_delay quirk for MacBook Pro, but it only affects > radeon_switcheroo_set_state(). I think it should affect wakeu

Misc libdrm fixes

2016-07-21 Thread Andreas Boll
While packaging the latest libdrm release I've fixed some issues noticed by Debian's Lintian. Please review. Thanks, Andreas

[PATCH libdrm 3/6] libdrm: Fix drm.h include path in virtgpu drm header file

2016-07-21 Thread Andreas Boll
il Velikov Reviewed-by: Dave Airlie This matches the include path used by all other drm header files. Signed-off-by: Andreas Boll --- include/drm/virtgpu_drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/virtgpu_drm.h b/include/drm/virtgpu_drm.h index abf11c

[PATCH libdrm 6/6] radeon: Fix typo in stderr message

2016-07-21 Thread Andreas Boll
Signed-off-by: Andreas Boll --- radeon/radeon_cs_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radeon/radeon_cs_gem.c b/radeon/radeon_cs_gem.c index cdec64e..23f33af 100644 --- a/radeon/radeon_cs_gem.c +++ b/radeon/radeon_cs_gem.c @@ -323,7 +323,7 @@ static int

[PATCH libdrm 1/6] radeon: Wire up radeon-symbol-check to make check

2016-07-21 Thread Andreas Boll
This was missed in 552de225bf2740ba0cb52312c21353d71d934b8c Signed-off-by: Andreas Boll --- radeon/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/radeon/Makefile.am b/radeon/Makefile.am index 25c03d3..31f19e5 100644 --- a/radeon/Makefile.am +++ b/radeon/Makefile.am @@ -43,4

[PATCH libdrm 4/6] automake: Include virtgpu_drm.h in the release tarball.

2016-07-21 Thread Andreas Boll
The plan is to use this version of virtgpu_drm.h in mesa and drop mesa's local copy. To actually use this header it needs to be shipped in the tarball. This was missed in c745e541a9d8dfd3fb5e1ac57297e58d34d9328f Signed-off-by: Andreas Boll --- Makefile.sources | 3 ++- 1 file chang

[PATCH libdrm 5/6] man: Fix typo

2016-07-21 Thread Andreas Boll
Signed-off-by: Andreas Boll --- man/drm-kms.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/drm-kms.xml b/man/drm-kms.xml index 5f04157..ae38dc8 100644 --- a/man/drm-kms.xml +++ b/man/drm-kms.xml @@ -126,7 +126,7 @@ Framebuffers are abstract

[PATCH libdrm 2/6] automake: Pick up all Android files for distribution

2016-07-21 Thread Andreas Boll
Currently only some Android Makefiles are included in the release tarball. Add all remaining files to be more consistent. Signed-off-by: Andreas Boll --- Makefile.am| 2 +- amdgpu/Makefile.am | 2 +- tests/Makefile.am | 2 ++ tests/proptest/Makefile.am | 2

[PATCH libdrm] automake: Don't include Android Makefiles in the release tarball

2016-07-22 Thread Andreas Boll
files from distribution which also means less work for maintenance in the future. Suggested-by: Emil Velikov Signed-off-by: Andreas Boll --- Makefile.am| 2 -- freedreno/Makefile.am | 2 +- intel/Makefile.am | 1 - libkms/Makefile.am | 2 +- nouveau/M

[PATCH libdrm] virtgpu: Update kernel header

2016-07-22 Thread Andreas Boll
Generated using make headers_install. This brings the C++ guard, proper include path for drm.h and the switching to kernel types for fixed-with integers. Generated from drm-next commit c11dea5b0290984fa48111957ba3fdc5b3bdae5a Suggested-by: Emil Velikov Signed-off-by: Andreas Boll --- include

[PATCH libdrm 2/6] automake: Pick up all Android files for distribution

2016-07-22 Thread Andreas Boll
2016-07-21 18:14 GMT+02:00 Emil Velikov : > On 21 July 2016 at 14:12, Andreas Boll wrote: >> Currently only some Android Makefiles are included in the release tarball. >> Add all remaining files to be more consistent. >> > Since Android folk never fully bought the idea of

[PATCH libdrm 3/6] libdrm: Fix drm.h include path in virtgpu drm header file

2016-07-22 Thread Andreas Boll
2016-07-21 18:10 GMT+02:00 Emil Velikov : > On 21 July 2016 at 14:12, Andreas Boll wrote: >> A similar change was made to mesa's copy of virtgpu_drm.h by the >> following commit: >> > Please sync this using the approach shown in commit > c745e541a9d8dfd3fb5e

[PATCH libdrm] libdrm: Fix drm.h include in qxl drm header file

2014-07-28 Thread Andreas Boll
ping 2014-05-05 23:54 GMT+02:00 Andreas Boll : > Use "drm.h" instead of "drm/drm.h" as used in the other header files. > Fixes xserver-xorg-video-qxl build with KMS support on Debian, where this > file is installed in /usr/include/libdrm. > > Fixes Debian b

[PATCH libdrm] libdrm: Fix drm.h include in qxl drm header file

2014-07-28 Thread Andreas Boll
2014-07-28 17:06 GMT+02:00 Emil Velikov : > On 28/07/14 15:35, Andreas Boll wrote: >> ping >> >> 2014-05-05 23:54 GMT+02:00 Andreas Boll : >>> Use "drm.h" instead of "drm/drm.h" as used in the other header files. >>> Fixes xserver-

[PATCH libdrm][RESEND] radeon: fix unused-function warning

2012-10-12 Thread Andreas Boll
radeon_cs_gem.c:333:13: warning: 'cs_gem_dump_bof' defined but not used [-Wunused-function] --- radeon/radeon_cs_gem.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/radeon/radeon_cs_gem.c b/radeon/radeon_cs_gem.c index 9834bcf..b963140 100644 --- a/radeon/radeon_cs_gem.

[PATCH 1/3] libdrm: add omap and exynos pkgconfig files to .gitignore

2012-08-28 Thread Andreas Boll
--- .gitignore |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 243457e..5e4c837 100644 --- a/.gitignore +++ b/.gitignore @@ -39,8 +39,10 @@ i915.kld install-sh libdrm/config.h.in libdrm.pc +libdrm_exynos.pc libdrm_intel.pc libdrm_nouveau

[PATCH 2/3] libdrm: add tests/radeon/radeon_ttm to .gitignore

2012-08-28 Thread Andreas Boll
--- .gitignore |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 5e4c837..219a37e 100644 --- a/.gitignore +++ b/.gitignore @@ -78,3 +78,4 @@ tests/modeprint/modeprint tests/modetest/modetest tests/kmstest/kmstest tests/vbltest/vbltest +tests/

[PATCH 3/3] radeon: fix unused-function warning

2012-08-28 Thread Andreas Boll
radeon_cs_gem.c:333:13: warning: 'cs_gem_dump_bof' defined but not used [-Wunused-function] --- radeon/radeon_cs_gem.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/radeon/radeon_cs_gem.c b/radeon/radeon_cs_gem.c index 9834bcf..b963140 100644 --- a/radeon/radeon_cs_gem.

[PATCH libdrm][RESEND] radeon: fix unused-function warning

2012-10-12 Thread Andreas Boll
radeon_cs_gem.c:333:13: warning: 'cs_gem_dump_bof' defined but not used [-Wunused-function] --- radeon/radeon_cs_gem.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/radeon/radeon_cs_gem.c b/radeon/radeon_cs_gem.c index 9834bcf..b963140 100644 --- a/radeon/radeon_cs_gem.

Re: [PATCH] drm/radeon: UVD support for RV710-SI

2013-04-03 Thread Andreas Boll
Could you bump drm minor version? Then we could check for UVD in userspace [1] Thanks for the great work! Andreas. [1] http://lists.freedesktop.org/archives/mesa-dev/2013-April/037089.html 2013/4/3 Christian König > Hi everyone, > > the following patchset implements the kernel side of UVD s

Re: UVD fails to init on rv790

2013-04-03 Thread Andreas Boll
FYI I get the same errors on rv770 (HD4870) Andreas. 2013/4/3 Christian König > Hi Andy, > > crap! I feared that something like this would happen. IIRC we never tested > UVD on an rv790, and this hardware isn't easy to get any more. > > RV770/RV790 have a separate UVD hardware generation (that

[PATCH 1/3] libdrm: add omap and exynos pkgconfig files to .gitignore

2012-08-28 Thread Andreas Boll
--- .gitignore |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 243457e..5e4c837 100644 --- a/.gitignore +++ b/.gitignore @@ -39,8 +39,10 @@ i915.kld install-sh libdrm/config.h.in libdrm.pc +libdrm_exynos.pc libdrm_intel.pc libdrm_nouveau

[PATCH 2/3] libdrm: add tests/radeon/radeon_ttm to .gitignore

2012-08-28 Thread Andreas Boll
--- .gitignore |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 5e4c837..219a37e 100644 --- a/.gitignore +++ b/.gitignore @@ -78,3 +78,4 @@ tests/modeprint/modeprint tests/modetest/modetest tests/kmstest/kmstest tests/vbltest/vbltest +tests/

[PATCH 3/3] radeon: fix unused-function warning

2012-08-28 Thread Andreas Boll
radeon_cs_gem.c:333:13: warning: 'cs_gem_dump_bof' defined but not used [-Wunused-function] --- radeon/radeon_cs_gem.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/radeon/radeon_cs_gem.c b/radeon/radeon_cs_gem.c index 9834bcf..b963140 100644 --- a/radeon/radeon_cs_gem.

[PATCH libdrm] libdrm: Fix drm.h include in qxl drm header file

2014-05-05 Thread Andreas Boll
Use "drm.h" instead of "drm/drm.h" as used in the other header files. Fixes xserver-xorg-video-qxl build with KMS support on Debian, where this file is installed in /usr/include/libdrm. Fixes Debian bug #746807 Reported-by: Bastian Blank Signed-off-by: Andreas Boll --- i

[PATCH] drm/radeon: UVD support for RV710-SI

2013-04-03 Thread Andreas Boll
Could you bump drm minor version? Then we could check for UVD in userspace [1] Thanks for the great work! Andreas. [1] http://lists.freedesktop.org/archives/mesa-dev/2013-April/037089.html 2013/4/3 Christian K?nig > Hi everyone, > > the following patchset implements the kernel side of UVD s

UVD fails to init on rv790

2013-04-03 Thread Andreas Boll
FYI I get the same errors on rv770 (HD4870) Andreas. 2013/4/3 Christian K?nig > Hi Andy, > > crap! I feared that something like this would happen. IIRC we never tested > UVD on an rv790, and this hardware isn't easy to get any more. > > RV770/RV790 have a separate UVD hardware generation (that

[PATCH 1/4] drm/radeon: use packet2 for nop on hawaii with old firmware

2014-08-01 Thread Andreas Boll
From: Alex Deucher Older firmware didn't support the new nop packet. v2 (Andreas Boll): - Drop usage of packet3 for new firmware Signed-off-by: Alex Deucher Reviewed-by: Christian K?nig (v1) Signed-off-by: Andreas Boll Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/cik.c

[PATCH 2/4] drm/radeon: tweak ACCEL_WORKING2 query for hawaii

2014-08-01 Thread Andreas Boll
Deucher Signed-off-by: Andreas Boll Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/radeon_kms.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c index d25ae6a..c1a206d 100644 --- a/drivers

[PATCH 3/4] drm/radeon: use packet3 for nop on hawaii with new firmware

2014-08-01 Thread Andreas Boll
From: Alex Deucher Older firmware didn't support the new nop packet. Signed-off-by: Alex Deucher Signed-off-by: Andreas Boll --- drivers/gpu/drm/radeon/cik.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/

[PATCH 4/4] drm/radeon: tweak ACCEL_WORKING2 query for the new firmware for hawaii

2014-08-01 Thread Andreas Boll
Adjust the previous tweak for hawaii to return 3 if the new firmware is used. Signed-off-by: Andreas Boll --- drivers/gpu/drm/radeon/radeon_kms.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon