[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: [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

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: [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

[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: [RFC PATCH 0/3] new subsystem for compute accelerator devices

2022-10-24 Thread Dave Airlie
On Tue, 25 Oct 2022 at 12:21, John Hubbard wrote: > > On 10/24/22 05:43, Oded Gabbay wrote: > > Hi Oded, > > The patches make sense to me. I'm still just reading through and looking > for minor issues, but at a high level it seems to match what the LPC > discussions pointed to. > > >> What's your

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-

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 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

[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: [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-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: [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

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-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: [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-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

[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

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.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 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,

[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

[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

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

[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

[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

[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

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

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

[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: [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

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 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 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

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: 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

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

[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/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.

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

[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

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ä >

[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 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. >

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 > >

[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: [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

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

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

[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

[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

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-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

[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

[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-

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.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

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-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

[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

[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

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.

[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 

[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-

[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-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

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

[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

[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: 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.

[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

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

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

[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-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

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: [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_

[git pull] drm fixes for 6.5 final

2023-08-24 Thread Dave Airlie
drm/display/dp: Fix the DP DSC Receiver cap size Anshuman Gupta (1): drm/i915/dgfx: Enable d3cold at s2idle Dave Airlie (2): Merge tag 'drm-misc-fixes-2023-08-24' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes Merge tag 'drm-intel-fixes-2023-08-2

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

[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/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-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-

[PULL] topic/drm-misc

2016-10-04 Thread Dave Airlie
On 3 October 2016 at 23:39, Daniel Vetter wrote: > Hi Dave, > > As promised another pull request. A bit late because flu. > - generic pipe crc from Tomeu, required a backmerge to apply > - fixes for my fumbled drm_plane.c extraction > - display_info cleanup/fixes from Ville > - misc stuff all over

[PATCH] drm: virtio: reinstate drm_virtio_set_busid()

2016-10-04 Thread Dave Airlie
On 4 October 2016 at 03:43, Laszlo Ersek wrote: > Before commit a325725633c2 ("drm: Lobotomize set_busid nonsense for !pci > drivers"), several DRM drivers for platform devices used to expose an > explicit "drm_driver.set_busid" callback, invariably backed by > drm_platform_set_busid(). > > Commit

[git pull] drm for 4.8

2016-10-12 Thread Dave Airlie
On 12 October 2016 at 05:59, Linus Torvalds wrote: > What's the status of the 4.9 merge window pull request? The GPU side > is the main remaining pile for this merge window according to > linux-next. I'd hate to get a last-minute pull at the end of the week I'm lining it up this morning, had sick

[git pull] drm pull for v4.9

2016-10-12 Thread Dave Airlie
m: Extract drm_plane.[hc] drm/doc: Polish for drm_plane.[hc] drm: Conslidate blending properties in drm_blend.[hc] drm/doc: Polish plane composition property docs drm: Extract drm_color_mgmt.[hc] drm/doc: Document color space handling drm: Remove dirty property fr

mm: fix cache mode tracking in vm_insert_mixed() breaks AMDGPU [was: Re: Latest testing with drm-next-4.9-wip and latest LLVM/mesa stack - Regression in PowerPlay/DPM on CIK?]

2016-10-17 Thread Dave Airlie
On 17 October 2016 at 04:41, Marek Olšák wrote: > On Fri, Oct 14, 2016 at 3:33 AM, Michel Dänzer wrote: >> >> [ Adding Dan Williams and dri-devel ] >> >> On 14/10/16 03:28 AM, Shawn Starr wrote: >>> Hello AMD folks, >>> >>> I have discovered a problem in Linus master that affects AMDGPU, nobod

[git pull] drm fixes for 4.9-rc2

2016-10-17 Thread Dave Airlie
Carpenter (1): drm/amdgpu: potential NULL dereference in debugfs code Daniel Vetter (1): drm: Print device information again in debugfs Dave Airlie (1): Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-next Grazvydas Ignotas (1):

mm: fix cache mode tracking in vm_insert_mixed() breaks AMDGPU [was: Re: Latest testing with drm-next-4.9-wip and latest LLVM/mesa stack - Regression in PowerPlay/DPM on CIK?]

2016-10-18 Thread Dave Airlie
On 18 October 2016 at 07:25, Dan Williams wrote: > On Sun, Oct 16, 2016 at 1:53 PM, Dave Airlie wrote: >> On 17 October 2016 at 04:41, Marek Olšák wrote: >>> On Fri, Oct 14, 2016 at 3:33 AM, Michel Dänzer >>> wrote: >>>> >>>> [ Adding Da

mm: fix cache mode tracking in vm_insert_mixed() breaks AMDGPU [was: Re: Latest testing with drm-next-4.9-wip and latest LLVM/mesa stack - Regression in PowerPlay/DPM on CIK?]

2016-10-18 Thread Dave Airlie
On 18 October 2016 at 08:01, Dave Airlie wrote: > On 18 October 2016 at 07:25, Dan Williams wrote: >> On Sun, Oct 16, 2016 at 1:53 PM, Dave Airlie wrote: >>> On 17 October 2016 at 04:41, Marek Olšák wrote: >>>> On Fri, Oct 14, 2016 at 3:33 A

[rfc] fix for regression in pat memory tracking in 4.9-rc1

2016-10-18 Thread Dave Airlie
Okay I spent some time looking into it, and this is the result. We have to manually insert the VRAM BAR into the pat memory tracking table as WC. The only other way things get inserted are via ioremap, which we never do for the whole VRAM BAR. We could in theory map the VRAM BAR using the iomap st

[PATCH 1/3] x86/pat: export io memory reserve/free api.

2016-10-18 Thread Dave Airlie
From: Dave Airlie These functions are needed for gpu/ttm drivers to reserve the VRAM area as write combined. In a lot of places we don't ioremap but still need to insert pfn from it into a VMA using vm_insert_mixed, but a recent change in mixed insertion means we need to reserve VRAM

[PATCH 3/3] amdgpu: reserve VRAM ranges in PAT memtype tables.

2016-10-18 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c index 887483b..3142d70 100644 --- a/drivers/gpu/drm/amd/amdgpu

[PATCH 2/3] drm/ttm: add API to reserve/free WC memory.

2016-10-18 Thread Dave Airlie
From: Dave Airlie These will be used by drivers to reserve/free WC memory in the PAT tracking tables, for VRAM BARs. Signed-off-by: Dave Airlie --- drivers/gpu/drm/ttm/ttm_bo_util.c | 24 include/drm/ttm/ttm_bo_driver.h | 2 ++ 2 files changed, 26 insertions

[PATCH 1/3] x86/pat: export io memory reserve/free api.

2016-10-18 Thread Dave Airlie
On 18 Oct. 2016 17:23, "Edward O'Callaghan" wrote: > > NACK, > > I think you want to use 'iomap_create_wc()' instead to avoid aliasing. Please explain what can alias here? Dave. > > Kind Regards, > Edward. > > On 10/18/2016 05:13 PM, Dav

mm: fix cache mode tracking in vm_insert_mixed() breaks AMDGPU [was: Re: Latest testing with drm-next-4.9-wip and latest LLVM/mesa stack - Regression in PowerPlay/DPM on CIK?]

2016-10-19 Thread Dave Airlie
On 18 October 2016 at 23:53, Dan Williams wrote: > On Mon, Oct 17, 2016 at 8:48 PM, Dave Airlie wrote: > [..] >>>> Aren't there only 2 possibilities for this regression? >>>> >>>> 1/ a memtype entry was never made so track_pfn_insert() returns an &

[git pull] drm fixes for 4.9-rc2 (part 2)

2016-10-21 Thread Dave Airlie
-- Baole Ni (1): drm/vmwgfx: Replace numeric parameter like 0444 with macro Charmaine Lee (1): drm/vmwgfx: Enable SVGA_3D_CMD_DX_TRANSFER_FROM_BUFFER command Chris Wilson (1): drm/vmwgfx: Remove call to reservation_object_test_signaled_rcu before wait Dave Airlie (4):

[git pull] drm fixes for v4.11-rc5

2017-03-31 Thread Dave Airlie
gbin Du (1): drm/i915/gvt: Use force single submit flag to distinguish gvt request from i915 request Chris Wilson (1): drm/i915: Restore marking context objects as dirty on pinning Chuanxiao Dong (1): drm/i915/gvt: fix wrong offset when loading RCS mocs Dave Airlie (4): Me

Re: [PATCH 2/2] drm: virtio: fix virtio_gpu_mode_dumb_create

2017-04-03 Thread Dave Airlie
On 3 April 2017 at 17:08, Gerd Hoffmann wrote: > Lookup format using virtio_gpu_translate_format() > instead of hardcoding it. Fixes xorg display on > bigendian guests (i.e. ppc64). > > Signed-off-by: Gerd Hoffmann For the series, Reviewed-by: Dave Airlie > --- > d

Re: [Git PULL] vmwgfx-fixes-4.11

2017-04-03 Thread Dave Airlie
On 31 March 2017 at 19:33, Thomas Hellstrom wrote: > Hi, Dave, > > A number of fixes for 4.11 > > The following changes since commit d64a04720b0e64c1cd0726a3a27b360822fbee22: > > Merge branch 'drm-fixes-4.11' of git://people.freedesktop.org/~agd5f/linux > into drm-fixes (2017-03-24 11:05:06 +10

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