[ANNOUNCE] libdrm 2.4.110

2022-02-16 Thread Samuel Pitoiset
(1): use standard `__typeof__()` instead of GNU extension `typeof()` Guchun Chen (1): tests/amdgpu: Add VCN test support for Biege Goby Raviteja Goud Talla (1): intel: sync i915_pciids.h with kernel Samuel Pitoiset (4): amdgpu: update_drm.h for new CTX OP to set/get

Re: [PATCH libdrm] amdgpu: Add context priority override function.

2019-04-17 Thread Samuel Pitoiset
Reviewed-by: Samuel Pitoiset On 4/17/19 8:33 PM, Bas Nieuwenhuizen wrote: This way we can override the priority of a single context using a master fd. Since we cannot usefully create an amdgpu device of a master fd without the fd deduplication kicking in this takes a plain fd. This can

Re: [PATCH] vulkan: Add VK_EXT_calibrated_timestamps extension (radv and anv) [v4]

2018-10-16 Thread Samuel Pitoiset
The RADV bits are: Reviewed-by: Samuel Pitoiset Thanks! On 10/16/18 7:31 AM, Keith Packard wrote: Offers three clocks, device, clock monotonic and clock monotonic raw. Could use some kernel support to reduce the deviation between clock values. v2: Ensure deviation is at least as big

Re: [PATCH libdrm 1/3] headers: sync amdgpu_drm.h from airlied/drm-next

2017-04-03 Thread Samuel Pitoiset
On 04/03/2017 10:27 AM, Nicolai Hähnle wrote: From: Nicolai Hähnle Changes include: PRT and preemption flags, sensor info, and some more changes for Vega10. Cool, thanks. I will be able to re-send the sensor info series for mesa. :) Generated using make

Re: [PATCH 0/2] drm/ttm, amdgpu: fix use-after-free in recent deadlock fix

2017-02-14 Thread Samuel Pitoiset
On 02/14/2017 10:18 AM, Nicolai Hähnle wrote: Hi all, based on my current theory on how a deadlock could happen in the buffer allocation code, these two patches should fix the deadlock without having a use-after-free. I'm still working on a way to clean up the ttm_bo_init sequence overall,

Re: [PATCH libdrm 0/4] libdrm: add new GPU sensor interface for AMDGPU

2017-02-14 Thread Samuel Pitoiset
On 02/14/2017 10:43 AM, Christian König wrote: Am 14.02.2017 um 02:44 schrieb Emil Velikov: On 14 February 2017 at 00:08, Samuel Pitoiset <samuel.pitoi...@gmail.com> wrote: Hi, This series implements a new GPU sensor interface which will allow to query the current temperature and the

Re: [PATCH 0/2] drm/ttm, amdgpu: fix use-after-free in recent deadlock fix

2017-02-14 Thread Samuel Pitoiset
On 02/14/2017 10:18 AM, Nicolai Hähnle wrote: Hi all, based on my current theory on how a deadlock could happen in the buffer allocation code, these two patches should fix the deadlock without having a use-after-free. I'm still working on a way to clean up the ttm_bo_init sequence overall,

[PATCH libdrm 2/4] amdgpu: add new GPU sensor related interface

2017-02-13 Thread Samuel Pitoiset
This will be used to expose the current GPU temperature, the shader clock and eventually the memory clock (for non-APUs). Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> --- include/drm/amdgpu_drm.h | 12 1 file changed, 12 insertions(+) diff --git a/inclu

[PATCH libdrm 1/4] amdgpu: sync amdgpu_drm.h with the kernel

2017-02-13 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> --- include/drm/amdgpu_drm.h | 123 +++ 1 file changed, 123 insertions(+) diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h index d8f24976..2be8b8dc 100644 --- a/inclu

[PATCH libdrm 4/4] Bump version for 2.4.76 release

2017-02-13 Thread Samuel Pitoiset
For AMDGPU GPU sensor interface. Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8e593324..8b2db691 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7

[PATCH libdrm 3/4] amdgpu: allow to query GPU sensor related information

2017-02-13 Thread Samuel Pitoiset
This exposes amdgpu_query_gpu_sensor_info(). Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> --- amdgpu/amdgpu.h | 19 +++ amdgpu/amdgpu_gpu_info.c | 15 +++ 2 files changed, 34 insertions(+) diff --git a/amdgpu/amdgpu.h b/amdgpu/amdgpu.h

[PATCH libdrm 0/4] libdrm: add new GPU sensor interface for AMDGPU

2017-02-13 Thread Samuel Pitoiset
: https://cgit.freedesktop.org/~hakzsam/drm/log/?h=si_clocks_temp Please review. Thanks! Samuel Pitoiset (4): amdgpu: sync amdgpu_drm.h with the kernel amdgpu: add new GPU sensor related interface amdgpu: allow to query GPU sensor related information Bump version for 2.4.76 release amdgpu

[PATCH] nouveau: fix nv40_perfctr_next() cleanup regression

2016-03-16 Thread Samuel Pitoiset
Reviewed-by: Samuel Pitoiset On 03/14/2016 03:24 PM, Arnd Bergmann wrote: > gcc-6 warns about code in the nouveau driver that is obviously silly: > > drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c: In function > 'nv40_perfctr_next': > drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c

[Nouveau] [PATCH] [resend] nouveau: Disable AGP for SiS 761

2015-09-30 Thread Samuel Pitoiset
This patch has been merged by Ben yesterday. http://cgit.freedesktop.org/~darktama/nouveau/commit/?id=8c713f90a63ffca10d122af09d439f3409c933ed Why do you send a new version ? Is the previous patch wrong? On 09/30/2015 01:48 PM, Ondrej Zary wrote: > SiS 761 chipset does not support AGP cards but

[PATCH] drm/nouveau: remove unused function

2015-09-21 Thread Samuel Pitoiset
it. >> >> Signed-off-by: Sudip Mukherjee >> --- > A gentle ping. Good catch! Thanks for reporting this, but the commit message should be something like: "bios: remove unused nvbios_pmuTp() function" The next time, don't forget to send patches to nouveau at lists.fre

[PATCH] rnndb/dsi: Add more bits for DSI PHY

2015-08-24 Thread Samuel Pitoiset
On 08/24/2015 10:16 PM, Rob Clark wrote: > On Mon, Aug 24, 2015 at 4:20 PM, Samuel Pitoiset > wrote: >> Hi Hai, >> >> I don't know what those bits are used for, but I'm a bit curious about how >> did you find them? >> >> Also, the next time don't f

[PATCH] rnndb/dsi: Add more bits for DSI PHY

2015-08-24 Thread Samuel Pitoiset
Hi Hai, I don't know what those bits are used for, but I'm a bit curious about how did you find them? Also, the next time don't forget to send patches related to envytools to nouveau at lists.freedesktop.org (or better send a pull request from github). Thanks. On 08/13/2015 11:44 PM, Hai Li

[Nouveau] [PATCH 8/8] acpi: Use booleans when probing different _DSM types

2015-05-26 Thread Samuel Pitoiset
On 05/26/2015 02:46 PM, Pierre Moreau wrote: > I'm thinking of re-writing this patch to just OR the different returned > retval and test for individual bits directly in the final conditionals. > So this would give something like: > > > int retval = 0; > > while ((pdev =

[Nouveau] [PATCH 7/8] acpi: Add support for Apple Gmux _DMS

2015-05-26 Thread Samuel Pitoiset
On 05/26/2015 12:22 AM, Pierre Moreau wrote: > Signed-off-by: Pierre Moreau > --- > drm/nouveau/nouveau_acpi.c | 53 > -- > drm/nouveau/nouveau_acpi.h | 2 ++ > drm/nouveau/nouveau_drm.c | 6 -- > drm/nouveau/nouveau_vga.c | 10 +

[Nouveau] [PATCH 5/8] acpi: Check returned object type by Optimus _DSM locally

2015-05-26 Thread Samuel Pitoiset
On 05/26/2015 12:22 AM, Pierre Moreau wrote: > Most _DSM will return an integer value of 0x8002 when given an unknown > UUID, revision ID or function ID. Checking locally allows us to differentiate > that case from other ACPI errors, and to not report a "failed to evaluate > _DSM" > if

[Nouveau] [PATCH 4/8] acpi: Allow evaluate_optimus_dsm to take NULL results

2015-05-26 Thread Samuel Pitoiset
On 05/26/2015 12:22 AM, Pierre Moreau wrote: > Signed-off-by: Pierre Moreau > --- > drm/nouveau/nouveau_acpi.c | 10 -- > 1 file changed, 4 insertions(+), 6 deletions(-) > > diff --git a/drm/nouveau/nouveau_acpi.c b/drm/nouveau/nouveau_acpi.c > index 36f4a40..073f7d7 100644 > ---

[Nouveau] [PATCH 2/8] acpi: Add evaluate to functons evaluating _DSM

2015-05-26 Thread Samuel Pitoiset
s/functons/functions in the commit message. On 05/26/2015 12:22 AM, Pierre Moreau wrote: > This makes it clearer when reading the function name, as well as following the > names of the related ACPI function. > > Signed-off-by: Pierre Moreau > --- > drm/nouveau/nouveau_acpi.c | 25

[PATCH] drm: nouveau: core: engine: perfmon: base: Remove unused function

2015-01-11 Thread Samuel Pitoiset
Hi Rickard, Thanks for submitting this patch, but I already submitted the same a few weeks ago. :-) This function will be removed when I will submit my work on this area. Greetings, Samuel Pitoiset. On 01/11/2015 07:12 PM, Rickard Strandqvist wrote: > Remove the function nouveau_perfsig_w