Re: [PATCH drm-misc-next] drm/gpuva_mgr: remove unused prev pointer in __drm_gpuva_sm_map()

2023-08-23 Thread Dave Airlie
o keep track of GPUs VA mappings") > Signed-off-by: Danilo Krummrich Reviewed-by: Dave Airlie > --- > drivers/gpu/drm/drm_gpuva_mgr.c | 10 -- > 1 file changed, 4 insertions(+), 6 deletions(-) > > diff --git a/drivers/gpu/drm/drm_gpuva_mgr.c b/drivers/gpu/drm/drm_

Re: [PATCH drm-misc-next] drm/nouveau: uvmm: fix unset region pointer on remap

2023-08-20 Thread Dave Airlie
Reviewed-by: Dave Airlie On Mon, 21 Aug 2023 at 08:29, Danilo Krummrich wrote: > > Transfer the region pointer of a uvma to the new uvma(s) on re-map to > prevent potential shader faults when the re-mapped uvma(s) are unmapped. > > Signed-off-by: Danilo Krummrich > ---

Re: Implement svm without BO concept in xe driver

2023-08-20 Thread Dave Airlie
On Thu, 17 Aug 2023 at 12:13, Zeng, Oak wrote: > > > -Original Message- > > From: Dave Airlie > > Sent: August 16, 2023 6:52 PM > > To: Felix Kuehling > > Cc: Zeng, Oak ; Christian König > > ; Thomas Hellström > > ; Brost, Ma

[git pull] drm fixes for 6.5-rc7

2023-08-17 Thread Dave Airlie
quot; Asad Kamal (1): drm/amd/pm: Update pci link width for smu v13.0.6 Dan Carpenter (1): accel/qaic: Clean up integer overflow checking in map_user_pages() Dave Airlie (3): Merge tag 'drm-intel-fixes-2023-08-17' of git://anongit.freedesktop.org/drm/drm-intel into drm-f

Re: Implement svm without BO concept in xe driver

2023-08-16 Thread Dave Airlie
On Thu, 17 Aug 2023 at 08:15, Felix Kuehling wrote: > > On 2023-08-16 13:30, Zeng, Oak wrote: > > I spoke with Thomas. We discussed two approaches: > > > > 1) make ttm_resource a central place for vram management functions such as > > eviction, cgroup memory accounting. Both the BO-based driver a

Re: [PULL for v6.6] drm-misc-next

2023-08-15 Thread Dave Airlie
> > Otherwise, there should be something like a drm-ci tree, from which you > > can fetch the changes directly. > > I asked for a pull request so that I could also merge it to msm-next > so that I can do CI this cycle. (Unlike the earlier out-of-tree > version of the drm/ci yml, this version needs

[git pull] drm fixes for 6.4-rc6

2023-08-10 Thread Dave Airlie
ort for Raven Arnd Bergmann (1): drm/nouveau: remove unused tu102_gr_load() function Boris Brezillon (1): drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap() Daniel Stone (1): drm/rockchip: Don't spam logs in atomic check Dave Airlie (2): Merge

[PATCH] nouveau: find the smallest page allocation to cover a buffer alloc.

2023-08-10 Thread Dave Airlie
From: Dave Airlie With the new uapi we don't have the comp flags on the allocation, so we shouldn't be using the first size that works, we should be iterating until we get the correct one. This reduces allocations from 2MB to 64k in lots of places.

[PATCH] nouveau/u_memcpya: use vmemdup_user

2023-08-10 Thread Dave Airlie
From: Dave Airlie I think there are limit checks in places for most things but the new api wants to not have them. Add a limit check and use the vmemdup_user helper instead. Signed-off-by: Dave Airlie --- drivers/gpu/drm/nouveau/nouveau_drv.h | 19 +-- 1 file changed, 5

[PATCH] nouveau/u_memcpya: use kvmalloc_array.

2023-08-10 Thread Dave Airlie
From: Dave Airlie I think there are limit checks in places for most things but the new api wants to not have them. Signed-off-by: Dave Airlie --- drivers/gpu/drm/nouveau/nouveau_drv.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h

Re: [PATCH drm-misc-next 0/5] Nouveau VM_BIND uAPI Fixes

2023-08-07 Thread Dave Airlie
For the series: Reviewed-by: Dave Airlie On Tue, 8 Aug 2023 at 02:32, Danilo Krummrich wrote: > > The patch series provides a few fixes for the recently merged VM_BIND uAPI > mostly addressing a couple of warnings. > > It also contains one patch to slightly reduce the memo

[git pull] drm fixes for 6.5-rc5

2023-08-03 Thread Dave Airlie
gen12_needs_ccs_aux_inv helper drm/i915/gt: Rename flags with bit_group_X according to the datasheet drm/i915/gt: Enable the CCS_FLUSH bit in the pipe control and in the CS drm/i915/gt: Support aux invalidation on all engines Dave Airlie (2): Merge tag 

Re: [PATCH drm-misc-next v9 00/11] Nouveau VM_BIND UAPI & DRM GPUVA Manager (merged)

2023-08-03 Thread Dave Airlie
you about things you wrote 10 years ago. Otherwise for the series: Reviewed-by: Dave Airlie Dave.

[PATCH] drm/nouveau: fixup the uapi header file.

2023-08-03 Thread Dave Airlie
From: Dave Airlie nouveau > 10 years ago had a plan for new multiplexer inside a multiplexer API using nvif. It never fully reached fruition, fast forward 10 years, and the new vulkan driver is avoiding libdrm and calling ioctls, and these 3 ioctls, getparam, channel alloc + free don't

[PATCH] drm/nouveau: fixup the uapi header file.

2023-07-31 Thread Dave Airlie
From: Dave Airlie nouveau > 10 years ago had a plan for new multiplexer inside a multiplexer API using nvif. It never fully reached fruition, fast forward 10 years, and the new vulkan driver is avoiding libdrm and calling ioctls, and these 3 ioctls, getparam, channel alloc + free don't

[git pull] drm fixes for 6.5-rc4

2023-07-27 Thread Dave Airlie
: Unlock on error path in dm_handle_mst_sideband_msg_ready_event() Dave Airlie (4): Merge tag 'drm-misc-fixes-2023-07-27' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes Merge tag 'drm-intel-fixes-2023-07-27' of git://anongit.freedesktop.org/drm/drm-intel

Re: [PATCH drm-misc-next v8 11/12] drm/nouveau: implement new VM_BIND uAPI

2023-07-23 Thread Dave Airlie
On Sun, 23 Jul 2023 at 01:12, Faith Ekstrand wrote: > > On Wed, Jul 19, 2023 at 7:15 PM Danilo Krummrich wrote: >> >> This commit provides the implementation for the new uapi motivated by the >> Vulkan API. It allows user mode drivers (UMDs) to: >> >> 1) Initialize a GPU virtual address (VA) spac

[git pull] drm fixes for 6.5-rc3

2023-07-20 Thread Dave Airlie
ser_pages() Daniel Miess (1): drm/amd/display: Prevent vtotal from being set to 0 Dave Airlie (3): Merge tag 'drm-misc-fixes-2023-07-20' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes Merge tag 'drm-intel-fixes-2023-07-20' of git://anongit.freedeskt

[git pull] drm fixes for 6.5-rc2

2023-07-13 Thread Dave Airlie
ences v3 drm/ttm: never consider pinned BOs for eviction&swap Dan Carpenter (1): dma-buf: fix an error pointer vs NULL bug Dave Airlie (3): Merge tag 'drm-misc-fixes-2023-07-13' of ssh://git.freedesktop.org/git/drm/drm-misc into drm-fixes Merge tag 'drm-

Re: [PATCH] drm/nouveau/acr: Abort loading ACR if no firmware was found

2023-07-12 Thread Dave Airlie
u/nvkm/subdev/acr/base.c > > @@ -224,7 +224,7 @@ nvkm_acr_oneinit(struct nvkm_subdev *subdev) > > u64 falcons; > > int ret, i; > > > > - if (list_empty(&acr->hsfw)) { > > + if (list_empty(&acr->hsfw) ||

[git pull] drm fixes for 6.5-rc1

2023-07-06 Thread Dave Airlie
O for DCN314 Revert "drm/amd/display: Move DCN314 DOMAIN power control to DMCUB" Partially revert "drm/amd/display: Fix possible underflow for displays with large vblank" Dave Airlie (5): Merge tag 'drm-misc-next-fixes-2023-06-29' of git://anongit.fre

Re: [PATCH] drm/vmwgfx: Fix shader stage validation

2023-07-04 Thread Dave Airlie
What tree has/is this landing via, not seeing it upstream yet. Dave. On Sat, 17 Jun 2023 at 20:25, Martin Krastev (VMware) wrote: > > From: Martin Krastev > > > Looks good! > > > Reviewed-by: Martin Krastev > > > Regards, > > Martin > > > On 16.06.23 г. 22:09 ч., Zack Rusin wrote: > > From: Za

[PATCH 1/2] docs: module: start adding some docs for MODULE_ macros.

2023-07-03 Thread Dave Airlie
From: Dave Airlie In order to add a new macro, Luis suggested converting some docs for the new ones. This tries to keep exisiting module_init, module_exit where they are, and adds the new docs to the module section. Cc: linux-...@vger.kernel.org Cc: Jonathan Corbet Cc: Luis Chamberlain Cc

[PATCH 2/2] modules/firmware: add a new option to denote a firmware group to choose one.

2023-07-03 Thread Dave Airlie
From: Dave Airlie This adds two tags that will go into the module info. The first denotes a group of firmwares, when that tag is present all MODULE_FIRMWARE lines between the tags will be ignored by new versions of dracut. The second makes an explicitly ordered group of firmwares to search for

modules: firmware groups attempt two

2023-07-03 Thread Dave Airlie
This is a second attempt at firmware grouping so we can have dracut only pull one firmware into the initramfs instead of a bunch of legacy ones. v1 got derailed when it was pointed out that ordering isn't consistent in modinfo with C to sections, so that plan no longer was feasible. This was the

Re: [PATCH drm-next v5 03/14] drm: manager to keep track of GPUs VA mappings

2023-06-26 Thread Dave Airlie
> > As pointed out by Christian, this would optimize the "get all mappings > > backed by a specific BO from a given VM" use case. > > > > The question for me is, do other drivers than amdgpu commonly need this? > > I have no idea. > > > > > And what does amdgpu need this for? Maybe amdgpu does some

Re: [pull] amdgpu drm-fixes-6.4

2023-06-23 Thread Dave Airlie
Hi Linus, Can you please pull this directly, Thanks, Dave. On Sat, 24 Jun 2023 at 07:18, Alex Deucher wrote: > > Hi Dave, Daniel, Linus, > > Last few fixes for 6.4. Dave already sent out the drm-fixes PR this week. > I was out of the office earlier in the week and just got this out now. > > Th

[git pull] drm fixes for 6.4 final

2023-06-22 Thread Dave Airlie
27; of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2023-06-23 12:16:48 +1000) drm fixes for 6.4 final qaic: - dma-buf import fix dp-mst: - fix NULL ptr deref ---

Re: [PATCH drm-next v5 00/14] [RFC] DRM GPUVA Manager & Nouveau VM_BIND UAPI

2023-06-20 Thread Dave Airlie
On Tue, 20 Jun 2023 at 17:06, Oded Gabbay wrote: > > On Tue, Jun 20, 2023 at 7:05 AM Dave Airlie wrote: > > > > Since this is feature is nouveau only currently and doesn't disturb > > the current nouveau code paths, I'd like to try and get this work in > >

Re: [PATCH drm-next v5 00/14] [RFC] DRM GPUVA Manager & Nouveau VM_BIND UAPI

2023-06-19 Thread Dave Airlie
cution > > context > > for GEM buffers) by Christian König. Since the patch implementing drm_exec > > was > > not yet merged into drm-next it is part of this series, as well as a small > > fix > > for this patch, which was found while testing this series. >

[git pull] drm fixes for 6.4-rc7

2023-06-16 Thread Dave Airlie
ondary PCI ID Arunpravin Paneer Selvam (1): Revert "drm/amdgpu: remove TOPDOWN flags when allocating VRAM in large bar system" Carl Vanderlip (1): accel/qaic: Free user handle on interrupted mutex Dave Airlie (3): Merge tag 'amd-drm-fixes-6.4-2023-06-14' of

Re: [PATCH 02/11] drm/i915/mst: Remove broken MST DSC support

2023-06-15 Thread Dave Airlie
On Wed, 3 May 2023 at 22:23, Lisovskiy, Stanislav wrote: > > On Wed, May 03, 2023 at 02:07:04PM +0300, Ville Syrjälä wrote: > > On Wed, May 03, 2023 at 10:36:42AM +0300, Lisovskiy, Stanislav wrote: > > > On Tue, May 02, 2023 at 05:38:57PM +0300, Ville Syrjala wrote: > > > > From: Ville Syrjälä >

[PATCH] nouveau: fix client work fence deletion race

2023-06-14 Thread Dave Airlie
From: Dave Airlie This seems to have existed for ever but is now more apparant after 9bff18d13473a9fdf81d5158248472a9d8ecf2bd (drm/ttm: use per BO cleanup workers) My analysis: two threads are running, one in the irq signalling the fence, in dma_fence_signal_timestamp_locked, it has done the

[git pull] drm fixes for 6.4-rc6

2023-06-08 Thread Dave Airlie
ils Andrzej Kacprowski (2): accel/ivpu: Do not trigger extra VPU reset if the VPU is idle accel/ivpu: Fix sporadic VPU boot failure Chaitanya Kumar Borah (1): drm/i915/display: Set correct voltage level for 480MHz CDCLK Chia-I Wu (1): drm/amdgpu: fix xclk freq on CHIP_STONE

[git pull] drm fixes for 6.4-rc5

2023-06-01 Thread Dave Airlie
entire reports after reading if not power of 2 size Dave Airlie (2): Merge tag 'amd-drm-fixes-6.4-2023-05-31' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes Merge tag 'drm-intel-fixes-2023-06-01' of git://anongit.freedesktop.org/drm/drm-intel into drm-

[git pull] drm fixes for 6.4-rc4

2023-05-25 Thread Dave Airlie
on: reintroduce radeon_dp_work_func content Dan Carpenter (1): accel/qaic: silence some uninitialized variable warnings Dave Airlie (3): Merge tag 'drm-intel-fixes-2023-05-25' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes Merge tag 'amd-drm-

Re: [PATCH v4 0/9] drm: fdinfo memory stats

2023-05-22 Thread Dave Airlie
em.c | 15 +++ > > drivers/gpu/drm/msm/msm_gpu.c | 2 - > > drivers/gpu/drm/msm/msm_gpu.h | 10 ++ > > include/drm/drm_drv.h | 7 + > > include/drm/drm_file.h | 51 +++ > > include/drm/drm_gem.h | 32 + > > 13 files changed, 378 insertions(+), 47 deletions(-) > > What is the expected merge plan for this series? msm-next? drm-misc? I'm fine with this going via drm-misc, Acked-by: Dave Airlie if that is the plan. Dave.

[git pull] drm fixes for 6.4-rc3

2023-05-19 Thread Dave Airlie
helper function definitions Bas Nieuwenhuizen (1): drm/amdgpu/gfx10: Disable gfxoff before disabling powergating. Dave Airlie (4): Merge tag 'exynos-drm-fixes-for-v6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-fixes Merge tag 'drm-

[git pull] drm fixes for 6.4-rc2

2023-05-11 Thread Dave Airlie
and div-by-zero fixes for display - GuC error capture fix for Xe devices Alvin Lee (1): drm/amd/display: Enforce 60us prefetch for 200Mhz DCFCLK modes Dave Airlie (3): Merge tag 'drm-misc-fixes-202

Re: [RFC] Plane color pipeline KMS uAPI

2023-05-09 Thread Dave Airlie
On Wed, 10 May 2023 at 00:31, Harry Wentland wrote: > > > > On 5/7/23 19:14, Dave Airlie wrote: > > On Sat, 6 May 2023 at 08:21, Sebastian Wick > > wrote: > >> > >> On Fri, May 5, 2023 at 10:40 PM Dave Airlie wrote: > >>> > >>&g

Re: [RFC] Plane color pipeline KMS uAPI

2023-05-07 Thread Dave Airlie
On Sat, 6 May 2023 at 08:21, Sebastian Wick wrote: > > On Fri, May 5, 2023 at 10:40 PM Dave Airlie wrote: > > > > On Fri, 5 May 2023 at 01:23, Simon Ser wrote: > > > > > > Hi all, > > > > > > The goal of this RFC is to expose a generic

Re: [RFC] Plane color pipeline KMS uAPI

2023-05-05 Thread Dave Airlie
On Fri, 5 May 2023 at 01:23, Simon Ser wrote: > > Hi all, > > The goal of this RFC is to expose a generic KMS uAPI to configure the color > pipeline before blending, ie. after a pixel is tapped from a plane's > framebuffer and before it's blended with other planes. With this new uAPI we > aim to r

[git pull] drm fixes part 2 for 6.4-rc1

2023-05-04 Thread Dave Airlie
pu: release gpu full access after "amdgpu_device_ip_late_init" Cruise Hung (1): drm/amd/display: Reset OUTBOX0 r/w pointer on DMUB reset Dave Airlie (4): Merge tag 'amd-drm-fixes-6.4-2023-04-26' of https://gitlab.freedesktop.org/agd5f/linux into drm-next Me

Re: [PATCH] modules/firmware: add a new option to denote a firmware group to choose one.

2023-05-02 Thread Dave Airlie
> > > > >> > the GROUP until after the FIRMWARE, so this can't work, as it already > >> > will have included all the ones below, hence why I bracketed top and > >> > bottom with a group. > >> > >> well... that is something that can be adapted easily by using a 2 pass > >> approach, filtering out th

Re: [PATCH] drm/doc/rfc: Introduce the merge plan for the Xe driver.

2023-04-26 Thread Dave Airlie
On Thu, 20 Apr 2023 at 05:19, Rodrigo Vivi wrote: > > Let’s establish a merge plan for Xe, by writing down clear pre-merge goals, in > order to avoid unnecessary delays. LGTM, Acked-by: Dave Airlie > > This initial document starts with a TODO list containing items with clear a

[git pull] drm next fixes for 6.4-rc1

2023-04-26 Thread Dave Airlie
. panel: - Improve error handling in nt35950. - Fix double unregister in otm8009a when removing the driver. Christian König (1): drm/ttm: revert "Reduce the number of used allocation orders for TTM pages" Dave Airlie

[PATCH 1/2] docs: module: start adding some docs for MODULE_ macros.

2023-04-25 Thread Dave Airlie
From: Dave Airlie In order to add a new macro, Luis suggested converting some docs for the new ones. This tries to keep exisiting module_init, module_exit where they are, and adds the new docs to the module section. Cc: linux-...@vger.kernel.org Cc: Jonathan Corbet Cc: Luis Chamberlain Cc

[PATCH 2/2] modules/firmware: add a new option to denote a firmware group to choose one.

2023-04-25 Thread Dave Airlie
From: Dave Airlie This adds a tag that will go into the module info, only one firmware from the group given needs to be available for this driver to work. This allows dracut to avoid adding in firmware that aren't needed. This just brackets a module list in the modinfo, the modules in the

Re: [PATCH] modules/firmware: add a new option to denote a firmware group to choose one.

2023-04-23 Thread Dave Airlie
On Fri, 21 Apr 2023 at 05:09, Lucas De Marchi wrote: > > On Wed, Apr 19, 2023 at 02:36:52PM +1000, Dave Airlie wrote: > >From: Dave Airlie > > > >This adds a tag that will go into the module info, only one firmware from > >the group given needs to be available

[git pull] drm fixes for 6.3 final

2023-04-20 Thread Dave Airlie
pu: Fix desktop freezed after gpu-reset Alex Hung (1): drm/amd/display: fix a divided-by-zero error Daniel Miess (1): drm/amd/display: limit timing for single dimm memory Dave Airlie (3): Merge tag 'drm-misc-fixes-2023-04-20-2' of git://anongit.freedesktop.org/drm/drm-misc i

[PATCH] modules/firmware: add a new option to denote a firmware group to choose one.

2023-04-18 Thread Dave Airlie
From: Dave Airlie This adds a tag that will go into the module info, only one firmware from the group given needs to be available for this driver to work. This allows dracut to avoid adding in firmware that aren't needed. This just brackets a module list in the modinfo, the modules in the

Re: [PATCH] drm/vmwgfx: Fix src/dst_pitch confusion

2023-03-20 Thread Dave Airlie
On Tue, 21 Mar 2023 at 09:42, Zack Rusin wrote: > > On Tue, 2023-03-21 at 08:46 +1000, Dave Airlie wrote: > > !! External Email > > > > On Thu, 16 Mar 2023 at 01:25, Martin Krastev (VMware) > > wrote: > > > > > > From: Martin Kr

Re: [PATCH] drm/vmwgfx: Fix src/dst_pitch confusion

2023-03-20 Thread Dave Airlie
On Thu, 16 Mar 2023 at 01:25, Martin Krastev (VMware) wrote: > > From: Martin Krastev > > We reviewers botched that one. > > Reviewed-by: Martin Krastev Can someone land this into drm-misc-next please so I can start building with clang again? Dave.

[git pull] drm fixes for v6.3-rc3

2023-03-17 Thread Dave Airlie
): fbdev: chipsfb: Fix error codes in chipsfb_pci_init() Dave Airlie (3): Merge tag 'drm-misc-fixes-2023-03-16' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes Merge tag 'drm-intel-fixes-2023-03-15' of git://anongit.freedesktop.org/drm/drm-

Re: [PATCH] drm/ttm: drop extra ttm_bo_put in ttm_bo_cleanup_refs

2023-03-16 Thread Dave Airlie
On Thu, 16 Mar 2023 at 19:27, Matthew Auld wrote: > > On Thu, 16 Mar 2023 at 07:26, Christian König > wrote: > > > > That was accidentially left over when we switched to the delayed delete > > worker. > > > > Suggested-by: Matthew Auld > > Signed-off-by: Christian König > > Fixes: ("9bff18d1347

Re: enhancing module info to allow grouping of firmwares

2023-03-15 Thread Dave Airlie
On Thu, 16 Mar 2023 at 06:56, Alex Deucher wrote: > > On Wed, Mar 15, 2023 at 4:35 PM Dave Airlie wrote: > > > > Hey moduly/firmware people, > > > > We are facing a problem in the future of NVIDIA providing giant > > firmwares for their devices that are v

enhancing module info to allow grouping of firmwares

2023-03-15 Thread Dave Airlie
Hey moduly/firmware people, We are facing a problem in the future of NVIDIA providing giant firmwares for their devices that are version locked with unstable APIs. Even if they weren't version locked we'd likely have to support multiple major versions over time. Now this becomes a problem because

Re: [PATCH v2 7/8] drm/vmwgfx: Abstract placement selection

2023-03-14 Thread Dave Airlie
> > > > Problem with explicit placement selection in vmwgfx is that by the time > > the buffer object needs to be validated the information about which > > placement was supposed to be used is lost. To workaround this the driver > > had a bunch of state in various places e.g. as_mob or cpu_blit to

[git pull] drm fixes for 6.3-rc2

2023-03-09 Thread Dave Airlie
Support umc node harvest config on umc v8_10 drm/amd/pm: Enable ecc_info table support for smu v13_0_10 Dave Airlie (4): Merge tag 'drm-misc-fixes-2023-02-23' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes mailmap: add mailmap entries for Faith. Merge

Re: [PATCH RFC 01/18] rust: drm: ioctl: Add DRM ioctl abstraction

2023-03-08 Thread Dave Airlie
On Thu, 9 Mar 2023 at 15:32, Asahi Lina wrote: > > On 08/03/2023 00.32, Maíra Canal wrote: > > On 3/7/23 11:25, Asahi Lina wrote: > >> DRM drivers need to be able to declare which driver-specific ioctls they > >> support. This abstraction adds the required types and a helper macro to > >> generate

[git pull] drm-next-fixes for 6.3-rc1

2023-03-02 Thread Dave Airlie
rt_error_address static and remove unused variable Colin Ian King (1): i915/gvt: Fix spelling mistake "vender" -> "vendor" Dave Airlie (3): Merge tag 'drm-misc-next-fixes-2023-02-28' of git://anongit.freedesktop.org/drm/drm-misc into drm-next Merge t

Re: drm next for 6.3-rc1

2023-02-24 Thread Dave Airlie
On Thu, 23 Feb 2023 at 10:10, Dave Airlie wrote: > > Hi Linus, > > This is the main drm feature pull request for 6.3. There are a bunch > of changes all over in the usual places. I got two conflicts when I > did a test pull, and I think you should be fine handling both of the

[git pull] drm fixes for 6.2 final

2023-02-16 Thread Dave Airlie
n11 WA fix ---- Dave Airlie (3): Merge tag 'amd-drm-fixes-6.2-2023-02-15' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes Merge tag 'drm-misc-fixes-2023-02-16' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes Merge t

Re: linux-6.2-rc4+ hangs on poweroff/reboot: Bisected

2023-02-12 Thread Dave Airlie
On Sun, 12 Feb 2023 at 00:43, Chris Clayton wrote: > > > > On 10/02/2023 19:33, Linux regression tracking (Thorsten Leemhuis) wrote: > > On 10.02.23 20:01, Karol Herbst wrote: > >> On Fri, Feb 10, 2023 at 7:35 PM Linux regression tracking (Thorsten > >> Leemhuis) wrote: > >>> > >>> On 08.02.23 09

[git pull] drm fixes for 6.2-rc8

2023-02-09 Thread Dave Airlie
(1): drm/i915: Initialize the obj flags for shmem objects Bert Karwatzki (1): drm/amdgpu: fix memory leak in amdgpu_cs_sync_rings Christian König (1): drm/client: fix circular reference counting issue Dave Airlie (5): nvidiafb: detect the hardware support before rem

Re: [PATCH] nvidiafb: detect the hardware support before removing console.

2023-02-06 Thread Dave Airlie
On Mon, 6 Feb 2023 at 18:01, Zeno Davatz wrote: > > Dear Dave > > On Mon, Feb 6, 2023 at 8:54 AM Dave Airlie wrote: > > > > On Mon, 6 Feb 2023 at 17:52, Zeno Davatz wrote: > > > > > > Dear Dave > > > > > > Thank you for your patch. &g

Re: [PATCH] nvidiafb: detect the hardware support before removing console.

2023-02-05 Thread Dave Airlie
On Mon, 6 Feb 2023 at 17:52, Zeno Davatz wrote: > > Dear Dave > > Thank you for your patch. > > On Sun, Feb 5, 2023 at 10:07 PM Dave Airlie wrote: > > > > From: Dave Airlie > > > > This driver removed the console, but hasn't yet decided if it

[PATCH] nvidiafb: detect the hardware support before removing console.

2023-02-05 Thread Dave Airlie
From: Dave Airlie This driver removed the console, but hasn't yet decided if it could take over the console yet. Instead of doing that, probe the hw for support and then remove the console afterwards. Signed-off-by: Dave Airlie Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=216859 Rep

Re: [PATCH] Revert "fbdev: Remove conflicting devices on PCI bus"

2023-02-05 Thread Dave Airlie
On Sat, 4 Feb 2023 at 09:09, Bjorn Helgaas wrote: > > From: Bjorn Helgaas > > This reverts commit 145eed48de278007f646b908fd70ac59d24ed81a. > > Zeno Davatz reported that 145eed48de27 ("fbdev: Remove conflicting devices > on PCI bus") caused a console hang. The machine was actually still usable >

[git pull] drm fixes for 6.2-rc7

2023-02-02 Thread Dave Airlie
drm/amd/display: Adjust downscaling limits for dcn314 Danilo Krummrich (1): dma-buf: actually set signaling bit for private stub fences Dave Airlie (3): Merge tag 'drm-misc-fixes-2023-02-02' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes Merge tag '

Re: [Nouveau] [PATCH drm-next 05/14] drm/nouveau: new VM_BIND uapi interfaces

2023-02-01 Thread Dave Airlie
On Mon, 30 Jan 2023 at 23:02, Christian König wrote: > > Am 29.01.23 um 19:46 schrieb Danilo Krummrich: > > On 1/27/23 22:09, Danilo Krummrich wrote: > >> On 1/27/23 16:17, Christian König wrote: > >>> Am 27.01.23 um 15:44 schrieb Danilo Krummrich: > [SNIP] > >>> > >>> What you want i

[git pull] drm fixes for 6.2-rc6

2023-01-26 Thread Dave Airlie
- Freesync video fix - DP MST fixes - build fix Arnd Bergmann (1): drm/i915/selftest: fix intel_selftest_modify_policy argument types Aurabindo Pillai (1): drm/amd/display: Fix timing not changning when freesync video is

Re: [PATCH] drm/amdgpu/display/mst: fix an unused-variable warning

2023-01-26 Thread Dave Airlie
On Fri, 27 Jan 2023 at 07:06, Hamza Mahfooz wrote: > > On 1/26/23 11:35, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > The newly added code is in an #ifdef, so the variables that > > are only used in there cause a warning if CONFIG_DRM_AMD_DC_DCN > > is disabled: > > > > drivers/gpu/drm/am

[PATCH] xe: use Makefile/include_next magic to avoid need for symlinks.

2023-01-24 Thread Dave Airlie
From: Dave Airlie I don't really like the symlinks, my other idea was creating new files which just include the original, but this idea seems to at least build. Cc: Matthew Brost Cc: Maarten Lankhorst Cc: Jani Nikula --- drivers/gpu/drm/i915/display/intel_de.h | 4 ..

[git pull] drm fixes for 6.2-rc5

2023-01-19 Thread Dave Airlie
ror Christian König (2): drm/amdgpu: fix cleaning up reserved VMID on release drm/amdgpu: fix amdgpu_job_free_resources v2 Dave Airlie (4): Merge tag 'drm-msm-fixes-2023-01-16' of https://gitlab.freedesktop.org/drm/msm into drm-fixes Merge tag '

Re: [PATCH drm-next 00/14] [RFC] DRM GPUVA Manager & Nouveau VM_BIND UAPI

2023-01-18 Thread Dave Airlie
On Thu, 19 Jan 2023 at 02:54, Alex Deucher wrote: > > On Wed, Jan 18, 2023 at 11:50 AM Danilo Krummrich wrote: > > > > > > > > On 1/18/23 17:30, Alex Deucher wrote: > > > On Wed, Jan 18, 2023 at 11:19 AM Danilo Krummrich wrote: > > >> > > >> On 1/18/23 16:37, Christian König wrote: > > >>> Am 18

[git pull] drm fixes for 6.2-rc4

2023-01-12 Thread Dave Airlie
drm/amdgpu: fix another missing fence reference in the CS code drm/amdgpu: fix missing dma_fence_put in error path drm/amdgpu: fix pipeline sync v2 Christophe JAILLET (1): drm/msm/hdmi: Fix the error handling path of msm_hdmi_dev_probe() Dave Airlie (4): Merge tag 'drm-m

Re: [PATCH v4 1/7] accel/ivpu: Introduce a new DRM driver for Intel VPU

2023-01-10 Thread Dave Airlie
On Fri, 6 Jan 2023 at 21:44, Oded Gabbay wrote: > > On Fri, Jan 6, 2023 at 12:45 PM Daniel Vetter wrote: > > > > On Fri, 6 Jan 2023 at 10:56, Stanislaw Gruszka > > wrote: > > > > > > On Fri, Jan 06, 2023 at 10:28:15AM +0100, Daniel Vetter wrote: > > > > On Thu, Jan 05, 2023 at 07:38:26PM +0200,

[git pull] drm fixes for 6.2-rc1

2022-12-22 Thread Dave Airlie
ing unreserve drm/amdgpu: rework reserved VMID handling drm/amdgpu: revert "generally allow over-commit during BO allocation" drm/amdgpu: grab extra fence reference for drm_sched_job_add_dependency Colin Ian King (1): drm/amd/display: Fix spelling mistake: "

Re: [PATCH 6/9] drm/qxl: stop using ttm_bo_wait

2022-12-15 Thread Dave Airlie
Acked-by: Dave Airlie On Fri, 16 Dec 2022 at 00:20, Christian König wrote: > > Am 25.11.22 um 11:21 schrieb Christian König: > > TTM is just wrapping core DMA functionality here, remove the mid-layer. > > No functional change. > > Any objections to this guys? > >

[git pull] drm fixes for 6.1 final

2022-12-08 Thread Dave Airlie
B fallback before any YUV mode in dw-hdmi, since some panels lie about YUV support. vmwgfx: - Stop using screen objects when SEV is active. Aurabindo Pillai (1): drm/amd/display: fix array index out of bound error in DCN32

[git pull] drm fixes for 6.1-rc8

2022-12-01 Thread Dave Airlie
fix for vangogh -------- Dave Airlie (2): Merge tag 'drm-intel-fixes-2022-12-01' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes Merge tag 'amd-drm-fixes-6.1-2022-12-01' of https://gitlab.freedesktop.org/agd5f/linux into drm-fixes Janusz Krzysztofi

Re: [pull] drm/msm: drm-msm-display-for-6.2

2022-11-29 Thread Dave Airlie
On Sat, 26 Nov 2022 at 20:21, Dmitry Baryshkov wrote: > > Hi Dave, > > As agreed with Rob Clark, a pull request for the non-GPU part of the drm/msm > driver. Summary below. > > The following changes since commit 7f7a942c0a338c4a2a7b359bdb2b68e9896122ec: > > Merge tag 'drm-next-20221025' of git:

[git pull] drm fixes for 6.1-rc7

2022-11-24 Thread Dave Airlie
_display_info correctly when the edid is read" Christian König (3): drm/amdgpu: handle gang submit before VMID drm/amdgpu: always register an MMU notifier for userptr drm/amdgpu: fix userptr HMM range handling v2 Dave Airlie (3): Merge tag 'drm-misc-fixes-2022-11

Re: [GIT PULL] drm/tegra: Changes for v6.2-rc1

2022-11-23 Thread Dave Airlie
Hi Thierry, looks like a rebase bug dim: aad2a7d9d375 ("gpu: host1x: Update host1x_memory_context_alloc() !IOMMU_API stub"): SHA1 in fixes line not found: dim: 1508aa73ea38 ("gpu: host1x: Select context device based on attached IOMMU") dim: ERROR: issues in commits detected, aborting Please

Re: [PATCH v4 0/4] new subsystem for compute accelerator devices

2022-11-21 Thread Dave Airlie
On Tue, 22 Nov 2022 at 09:06, Sonal Santan wrote: > > On 11/19/22 12:44, Oded Gabbay wrote: > > This is the fourth (and hopefully last) version of the patch-set to add the > > new subsystem for compute accelerators. I removed the RFC headline as > > I believe it is now ready for merging. > > > > C

Re: [PATCH v4 0/4] new subsystem for compute accelerator devices

2022-11-20 Thread Dave Airlie
ght up and I think we should be good for this to be in a PR. Reviewed-by: Dave Airlie

[git pull] drm fixes for v6.1-rc6

2022-11-18 Thread Dave Airlie
fo Christian König (1): drm/amdgpu: use the last IB as gang leader v2 Dave Airlie (4): Merge tag 'drm-misc-fixes-2022-11-17' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes Merge tag 'drm-intel-fixes-2022-11-17' of git://anongit.freedesktop.org

Re: [pull] amdgpu, amdkfd, radeon drm-next-6.2

2022-11-15 Thread Dave Airlie
arm32 build fails /home/airlied/devel/kernel/dim/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c: In function ‘disable_dangling_plane’: /home/airlied/devel/kernel/dim/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:1134:46: error: ‘const struct timing_generator_funcs’ has no member n

Re: [PATCH] drm/atomic: do not branch based on the value of current->comm[0]

2022-11-15 Thread Dave Airlie
On Sun, 6 Nov 2022 at 08:21, Jason A. Donenfeld wrote: > > This reverts 26b1d3b527e7 ("drm/atomic: Take the atomic toys away from > X"), a rootkit-like kludge that has no business being inside of a > general purpose kernel. It's the type of debugging hack I'll use > momentarily but never commit, o

[git pull] drm fixes for 6.1-rc5

2022-11-10 Thread Dave Airlie
mdgpu: Revert "drm/amdgpu: getting fan speed pwm for vega10 properly"" Aurabindo Pillai (1): drm/amd/display: Zeromem mypipe heap struct before using it Chaitanya Dhere (1): drm/amd/display: Fix FCLK deviation and tool compile issues Christian König (1): drm/amdgpu:

Re: [RFC PATCH v2 1/3] drivers/accel: define kconfig and register a new major

2022-11-08 Thread Dave Airlie
On Tue, 8 Nov 2022 at 22:28, Jason Gunthorpe wrote: > > On Tue, Nov 08, 2022 at 06:33:23AM +1000, Dave Airlie wrote: > > > At plumbers we decided a direction, I think the direction is good, if > > there is refactoring to be done, I'd rather it was done in tree

Re: [RFC PATCH v2 1/3] drivers/accel: define kconfig and register a new major

2022-11-07 Thread Dave Airlie
> > > > > > "drm_minor" is not necessary anymore. Strictly managing minor numbers > > > lost its value years ago when /dev/ was reorganized. Just use > > > dynamic minors fully. > > drm minor is not just about handling minor numbers. It contains the > > entire code to manage devices that register w

Re: [RFC PATCH v2 1/3] drivers/accel: define kconfig and register a new major

2022-11-07 Thread Dave Airlie
On Mon, 7 Nov 2022 at 23:10, Jason Gunthorpe wrote: > > On Mon, Nov 07, 2022 at 03:01:08PM +0200, Oded Gabbay wrote: > > I don't agree with your statement that it should be "a layer over top of > > DRM". > > Anything on top of DRM is a device driver. > > Accel is not a device driver, it is a new

[git pull] drm fixes for 6.1-rc4

2022-11-03 Thread Dave Airlie
nc on DCN32 Aurelien Jarno (1): drm/rockchip: dw_hdmi: filter regulator -EPROBE_DEFER error messages Brian Norris (2): drm/rockchip: dsi: Clean up 'usage_mode' when failing to attach drm/rockchip: dsi: Force synchronous probe Dave Airlie (3): Merge

Re: [PULL] drm-intel-gt-next

2022-11-01 Thread Dave Airlie
On Mon, 31 Oct 2022 at 21:07, Joonas Lahtinen wrote: > > Hi Dave & Daniel, > > Here goes first drm-intel-gt-next pull req towards 6.2. > > We have a fix for #6222 (kernel memory corruption issue) and fix for > display regression after resume. A missing W/A for Gen12 iGPUs and > extension of comput

[git pull] drm fixes for 6.1-rc3

2022-10-27 Thread Dave Airlie
'on' by default on all dGPU Chengming Gui (1): drm/amdgpu: fix pstate setting issue Christian König (1): drm/scheduler: fix fence ref counting Colin Ian King (1): drm/msm: Kconfig: Fix spelling mistake "throught" -> "through" Dave Airlie (4):

Re: [PATCH v3] drm/i915/gvt: fix double free bug in split_2MB_gtt_entry

2022-10-26 Thread Dave Airlie
On Thu, 27 Oct 2022 at 13:26, Zheng Hacker wrote: > > Dave Airlie 于2022年10月27日周四 08:01写道: > > > > On Fri, 7 Oct 2022 at 11:38, Zheng Wang wrote: > > > > > > If intel_gvt_dma_map_guest_page failed, it will call > > > ppgtt_invalidate_spt, which wi

Re: [PATCH v3] drm/i915/gvt: fix double free bug in split_2MB_gtt_entry

2022-10-26 Thread Dave Airlie
On Fri, 7 Oct 2022 at 11:38, Zheng Wang wrote: > > If intel_gvt_dma_map_guest_page failed, it will call > ppgtt_invalidate_spt, which will finally free the spt. > But the caller does not notice that, it will free spt again in error path. > > Fix this by spliting invalidate and free in ppgtt_invali

Re: [PATCH v2 0/8] agp: Convert to generic power management

2022-10-25 Thread Dave Airlie
On Wed, 26 Oct 2022 at 06:39, Bjorn Helgaas wrote: > > From: Bjorn Helgaas > > Vaibhav converted several AGP drivers from legacy PCI power management to > generic power management [1]. This series converts the rest of them. Do you want to merge through the PCI tree? Acked-

<    1   2   3   4   5   6   7   8   9   10   >