[PULL] drm-misc-next-fixes

2024-05-22 Thread Maarten Lankhorst
drm-misc-next-fixes-2024-05-23: drm-misc-next-fixes for v6.10-rc1: - MST null deref fix. - Don't let next bridge create connector in adv7511 to make probe work. The following changes since commit 959314c438caf1b62d787f02d54a193efda38880: drm/nouveau: use tile_mode and pte_kind for VM_BIND bo

[PULL] drm-misc-next-fixes

2024-05-16 Thread Maarten Lankhorst
drm-misc-next-fixes-2024-05-16: drm-misc-next-fixes for v6.10-rc1: - VM_BIND fix for nouveau. - Lots of panthor fixes: * Fixes for panthor's heap logical block. * Reset on unrecoverable fault * Fix VM references. * Reset fix. - xlnx compile and doc fixes. The following changes since

Re: [PATCH v10 05/12] drm/panelreplay: dpcd register definition for panelreplay SU

2024-05-15 Thread Maarten Lankhorst
Hey, Den 2024-05-13 kl. 10:55, skrev Hogander, Jouni: Hello Maintainers, Could you please ack this patch? I'm planning to merge it via drm-intel tree. BR, Jouni Högander Acked-by: Maarten Lankhorst

[PULL] drm-misc-next-fixes

2024-05-08 Thread Maarten Lankhorst
Hi Dave, Sima, drm-misc-next-fixes for v6.10-rc1. There was some discussion on certain cherry picks I did, specifically the one for hiding fbdev address. There is some potential to cause regressions on ARM by hiding the physical address, but I think it should be fine to move ahead. This is why

Re: [RFC PATCH 00/18] TTM interface for managing VRAM oversubscription

2024-05-02 Thread Maarten Lankhorst
Hey, Den 2024-04-24 kl. 18:56, skrev Friedrich Vock: Hi everyone, recently I've been looking into remedies for apps (in particular, newer games) that experience significant performance loss when they start to hit VRAM limits, especially on older or lower-end cards that struggle to fit both

[PULL] drm-misc-next

2024-04-25 Thread Maarten Lankhorst
Hi Dave, Sima, One more pull request for v6.10! Cheers, ~Maarten drm-misc-next-2024-04-25: drm-misc-next for v6.10-rc1: UAPI Changes: Cross-subsystem Changes: - Devicetree updates for rockchip (#sound-dai-cells) - Add dt bindings for new panels. - Change bridge/tc358775 dt bindings. Core

[PULL] drm-misc-next

2024-04-19 Thread Maarten Lankhorst
Hi Dave, Sima, Bit late, but with slightly more content. Cheers, ~Maarten drm-misc-next-2024-04-19: drm-misc-next for v6.10-rc1: UAPI Changes: - Add SIZE_HINTS property for cursor planes. Cross-subsystem Changes: Core Changes: - Document the requirements and expectations of adding new

[PULL] drm-misc-next

2024-04-10 Thread Maarten Lankhorst
Hi Dave, Sima, Still low amount of patches this week! Cheers, ~Maarten drm-misc-next-2024-04-10: drm-misc-next for v6.10: Cross-subsystem Changes: - Add Tomi as Xilinx maintainer. - Add sound bindings to DT. Core Changes: - Make DP helper depend on KMS helper. Driver Changes: - Assorted

Re: [rebase 1/3] drm: Add drm_vblank_work_flush_all().

2024-04-06 Thread Maarten Lankhorst
( Cheers, ~Maarten On Thu, Apr 04, 2024 at 12:48:11PM +0200, Maarten Lankhorst wrote: From: Maarten Lankhorst In some cases we want to flush all vblank work, right before vblank_off for example. Add a simple function to make this possible. Signed-off-by: Maarten Lankhorst --- drivers/

[PULL] drm-misc-next

2024-04-05 Thread Maarten Lankhorst
Hi Dave, Sima, Everyone seems to be out on vacation, so the pull request is pretty empty. Cheers, ~Maarten drm-misc-next-2024-04-05: drm-misc-next for v6.10: Core Changes: - Fix DRM_DISPLAY_DP_HELPER dependencies. Driver Changes: - i2c and polling fixes to ast. - Small fixes to panthor. -

[PULL] drm-misc-next

2024-03-28 Thread Maarten Lankhorst
Hi Dave, Sima, Happy easter!! Cheers, ~Maarten drm-misc-next-2024-03-28: drm-misc-next for v6.10-rc1: The deal of a lifetime! You get ALL of the previous drm-misc-next-2024-03-21-1 tag!! But WAIT, there's MORE! Cross-subsystem Changes: - Assorted DT binding updates. Core Changes: - Clarify

[PULL] drm-misc-next

2024-03-21 Thread Maarten Lankhorst
drm-misc-next-2024-03-21-1: drm-misc-next for v6.10: UAPI Changes: - Move some nouveau magic constants to uapi. Cross-subsystem Changes: - Move drm-misc to gitlab and freedesktop hosting. - Add entries for panfrost. Core Changes: - Improve placement for TTM bo's in idle/busy handling. -

Re: [PATCH 6/6] drm/xe/stolen: ignore first page for FBC

2024-02-16 Thread Maarten Lankhorst
_4K; + if (align) size = ALIGN(size, align); Should start also be aligned? If that's taken care of by other code, for both patches: Reviewed-by: Maarten Lankhorst

Re: [PATCH] drm/xe/display: Fix memleak in display initialization

2024-02-01 Thread Maarten Lankhorst
On 2024-01-31 16:07, Jani Nikula wrote: On Wed, 31 Jan 2024, Lucas De Marchi wrote: +Jani On Fri, Jan 26, 2024 at 11:34:53PM +0800, wangxiaoming321 wrote: intel_power_domains_init has been called twice in xe_device_probe: xe_device_probe -> xe_display_init_nommio ->

[PULL] drm-misc-fixes

2024-01-03 Thread Maarten Lankhorst
Hi Dave, Daniel, Happy new year! ~Maarten drm-misc-fixes-2024-01-03: drm-misc-fixes for v6.7 final: - 2 small qaic fixes. - Fixes for overflow in aux xfer. - Fix uninitialised gamma lut in gmag200. - Small compiler warning fix for backports of a ps8640 fix. The following changes since commit

[PULL] drm-misc-fixes

2023-12-14 Thread Maarten Lankhorst
Hi Dave, Daniel, Small fixes all over the place, one regression fix for master capability. Cheers, ~Maarten drm-misc-fixes-2023-12-14: drm-misc-fixes for v6.7-rc6: - Fix regression for checking if FD is master capable. - Fix uninitialized variables in drm/crtc. - Fix ivpu w/a. - Refresh modes

[PULL] drm-misc-fixes

2023-12-07 Thread Maarten Lankhorst
Hi Dave, Daniel, Pull request for v6.7-rc5. Cheers, ~Maarten drm-misc-fixes-2023-12-07: drm-misc-fixes for v6.7-rc5: - Document nouveau's GSP-RM. - Flush vmm harder on nouveau tu102. - Panfrost fix for imported dma-buf objects, and device frequency. - Kconfig Build fix for tc358768. - Call

[PATCH] drm/i915/display: Use i915_gem_object_get_dma_address to get dma address

2023-12-04 Thread Maarten Lankhorst
Works better for xe like that. obj is no longer const. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/display/intel_cursor.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_cursor.c b/drivers/gpu/drm/i915/display

[PULL] drm-misc-fixes

2023-11-29 Thread Maarten Lankhorst
Hi Dave, Daniel, This pull request is a bit confusing, as it first adds the panel fixes and a driver/core change, then immediately revert it. Cheers, ~Maarten drm-misc-fixes-2023-11-29: Fixes for v6.7-rc4: - Revert panel fixes as they require exporting device_is_dependent. - Do not double

[PATCH 1/3] drm: Add drm_vblank_work_flush_all().

2023-11-27 Thread Maarten Lankhorst
In some cases we want to flush all vblank work, right before vblank_off for example. Add a simple function to make this possible. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/drm_vblank_work.c | 22 ++ include/drm/drm_vblank_work.h | 2 ++ 2 files changed, 24

[PATCH 2/3] drm/i915: Use vblank worker to unpin old legacy cursor fb safely

2023-11-27 Thread Maarten Lankhorst
problems we can think about adding a lower priority worker for such things. This patch is slightly reworked by Maarten Cc: Maarten Lankhorst Signed-off-by: Ville Syrjälä Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/display/intel_cursor.c | 26 +-- drivers/gpu/drm/i915

[PATCH 3/3] drm/i915: Use the same vblank worker for atomic unpin

2023-11-27 Thread Maarten Lankhorst
cleaned up. The only option remaining is to remove the plane from the atomic commit, and use the same path as the legacy cursor update to clean the state after vblank. Signed-off-by: Maarten Lankhorst --- .../gpu/drm/i915/display/intel_atomic_plane.c | 28 ++- .../gpu/drm/i915/display

[PULL] drm-misc-fixes

2023-11-23 Thread Maarten Lankhorst
Hi Dave, Daniel, Lots of small fixes for various drivers. Cheers, ~Maarten drm-misc-fixes-2023-11-23: Fixes for v6.7-rc3: - Panel fixes for innolux and auo,b101uan08.3 panel. - Fix ivpu MMIO reset. - AST fix on connetor disconnection. - nouveau gsp fix. - rockchip color fix. - Fix

Re: [Intel-gfx] [PATCH v3 02/11] drm/dp_mst: Fix PBN divider calculation for UHBR rates

2023-11-21 Thread Maarten Lankhorst
: Acked-by: Maarten Lankhorst --- drivers/gpu/drm/display/drm_dp_mst_topology.c | 10 +++--- include/drm/display/drm_dp_helper.h | 13 + 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/display/drm_dp_mst_topology.c b/drivers/gpu/drm

[PULL] drm-misc-fixes

2023-11-16 Thread Maarten Lankhorst
Hi Dave, Daniel, Small pull request, mostly nouveau fixes. Cheers, ~Maarten Mostly drm-misc-fixes-2023-11-16: Assorted fixes for v6.7-rc2: - Nouveau GSP fixes. - Fix nouveau driver load without display. - Use rwlock for nouveau's event lock to break a lockdep splat. - Add orientation quirk for

Re: [PATCH] driver: gpu: Fixing warning directly dereferencing a rcu pointer

2023-11-13 Thread Maarten Lankhorst
Hey, Den 2023-11-13 kl. 09:10, skrev Abhinav Singh: This patch fixes a sparse warning with this message "warning:dereference of noderef expression". In this context it means we are dereferencing a __rcu tagged pointer directly. We should not be directly dereferencing a rcu pointer, rather we

[PULL] drm-misc-fixes

2023-11-08 Thread Maarten Lankhorst
Hi Dave, Daniel, drm-misc-next-fixes is empty, have a pull request for drm-misc-fixes. Cheers, ~Maarten drm-misc-fixes-2023-11-08: drm-misc-fixes for v6.7-rc1: - drm-misc-fixes from 2023-11-02 + a single qxl memory leak fix. The following changes since commit

[PULL] drm-misc-next-fixes

2023-11-02 Thread Maarten Lankhorst
Hi Daniel, Dave, Just 2 small ssd130x fixes. Cheers, ~Maarten drm-misc-next-fixes-2023-11-02: drm-misc-next-fixes for v6.7-rc1: - dt binding fix for ssd132x - Initialize ssd130x crtc_state to NULL. The following changes since commit b70438004a14f4d0f9890b3297cd66248728546c: drm/amdgpu:

[PULL] drm-misc-next

2023-10-27 Thread Maarten Lankhorst
drm-misc-next-2023-10-27: drm-misc-next for v6.7-rc1: drm-misc-next-2023-10-19 + following: UAPI Changes: Cross-subsystem Changes: - Convert fbdev drivers to use fbdev i/o mem helpers. Core Changes: - Use cross-references for macros in docs. - Make drm_client_buffer_addb use addfb2. - Add

[PULL] drm-misc-next

2023-10-19 Thread Maarten Lankhorst
drm-misc-next-2023-10-19: drm-misc-next for v6.7-rc1: UAPI Changes: Cross-subsystem Changes: - Update maintainers entry for megachips STDPx-GE-B850V3-FW. Core Changes: - Add VM_BIND async document. - Dual-license drm_gpuvm to GPL-2.0 OR MIT. Driver Changes: - Assorted small fixes in ivpu,

[PULL] drm-misc-next

2023-10-12 Thread Maarten Lankhorst
drm-misc-next-2023-10-12: drm-misc-next for v6.7-rc1: Contains the previous pull request drm-misc-next-2023-10-06 + following: Cross-subsystem Changes: - Rename fb_pgprot to pgprot_framebuffer and remove file argument/ - Update iosys-map documentation typos. Core Changes: - Assorted fixes to

[PULL] drm-misc-next

2023-10-06 Thread Maarten Lankhorst
drm-misc-next-2023-10-06: drm-misc-next for v6.7: Cross-subsystem Changes: - drm-misc now matches all drivers to ensure it goes to the correct tree. - Clarify NXP i.MX 8MQ DCSS goes through drm-misc tree in MAINTAINERS. Core Changes: - Assorted small fixes in gpuvm, bridge. - Improve format

[PULL] drm-misc-next

2023-09-27 Thread Maarten Lankhorst
drm-misc-next-2023-09-27: drm-misc-next for v6.7-rc1: UAPI Changes: - drm_file owner is now updated during use, in the case of a drm fd opened by the display server for a client, the correct owner is displayed. - Qaic gains support for the QAIC_DETACH_SLICE_BO ioctl to allow bo recycling.

[PULL] drm-misc-next

2023-09-11 Thread Maarten Lankhorst
Hi Dave, Daniel, First pull request for next kernel cycle. Cheers, ~Maarten drm-misc-next-2023-09-11-1: drm-misc-next for v6.7-rc1: UAPI Changes: - Nouveau changed to not set NO_PREFETCH flag explicitly. Cross-subsystem Changes: - Update documentation of dma-buf intro and uapi. - fbdev/sbus

[PATCH 1/2] drm/i915: Swap ggtt_vma during legacy cursor update

2023-08-10 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/display/intel_cursor.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_cursor.c b/drivers/gpu/drm/i915/display/intel_cursor.c index b342fad180ca..ab25f019eda1 100644

[PATCH 2/2] drm/i915: Handle legacy cursor update as normal update

2023-08-10 Thread Maarten Lankhorst
Abuse the vblank worker to make the changes as small as possible. We need a way to sync flip_done, but if we wait on flip_done, all async tests start failing. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/display/intel_crtc.c| 21 ++-- drivers/gpu/drm/i915

Re: [PATCH 16/17] cgroup/drm: Expose memory stats

2023-07-27 Thread Maarten Lankhorst
Hey, On 2023-07-26 21:44, Tejun Heo wrote: Hello, On Wed, Jul 26, 2023 at 12:14:24PM +0200, Maarten Lankhorst wrote: So, yeah, if you want to add memory controls, we better think through how the fd ownership migration should work. I've taken a look at the series, since I have been working

Re: [PATCH 16/17] cgroup/drm: Expose memory stats

2023-07-27 Thread Maarten Lankhorst
Hey, On 2023-07-26 13:41, Tvrtko Ursulin wrote: On 26/07/2023 11:14, Maarten Lankhorst wrote: Hey, On 2023-07-22 00:21, Tejun Heo wrote: On Wed, Jul 12, 2023 at 12:46:04PM +0100, Tvrtko Ursulin wrote:    $ cat drm.memory.stat    card0 region=system total=12898304 shared=0 active=0

Re: [PATCH 16/17] cgroup/drm: Expose memory stats

2023-07-26 Thread Maarten Lankhorst
Hey, On 2023-07-22 00:21, Tejun Heo wrote: On Wed, Jul 12, 2023 at 12:46:04PM +0100, Tvrtko Ursulin wrote: $ cat drm.memory.stat card0 region=system total=12898304 shared=0 active=0 resident=12111872 purgeable=167936 card0 region=stolen-system total=0 shared=0 active=0 resident=0

Re: [Intel-gfx] [drm-rerere] nightly.conf: drop sound tree from drm-tip altogether

2023-07-11 Thread Maarten Lankhorst
. Signed-off-by: Jani Nikula Acked-by: Maarten Lankhorst --- nightly.conf | 7 --- 1 file changed, 7 deletions(-) diff --git a/nightly.conf b/nightly.conf index 73aec820e98f..c1e22800e276 100644 --- a/nightly.conf +++ b/nightly.conf @@ -46,11 +46,6 @@ git://anongit.freedesktop.org/drm/drm

[PULL] drm-misc-fixes

2023-06-21 Thread Maarten Lankhorst
Hi Dave, Daniel, Midsummer is nearly here! So sending the pull request a bit early. Cheers! ~Maarten drm-misc-fixes-2023-06-21: drm-misc-fixes for v6.4: - Qaic imported dma-buf fix. - Fix null pointer deref when printing a dp-mst message. The following changes since commit

[PULL] drm-misc-fixes

2023-06-16 Thread Maarten Lankhorst
Hey Dave, Daniel, Sorry for being late, life sometimes get in the way. Sometimes even literally! Cheers, ~Maarten drm-misc-fixes-2023-06-16: drm-misc-fixes maybe in time for v6.4-rc7: - qaic leak and null deref fix. - Fix runtime pm in nouveau. - Fix array overflow in ti-sn65dsi86 pwm chip

[PULL] drm-misc-fixes, try 2.

2023-06-09 Thread Maarten Lankhorst
Hi Dave, Daniel, Same pull request, just verifying tooling works as intended now. :-) drm-misc-fixes for v6.4-rc6. Seems to be mostly small fixes, just a few more for ivpu. ~Maarten drm-misc-fixes-2023-06-08: drm-misc-fixes for v6.4-rc6: - resume and modeset fixes for ast. - Fill in fb-helper

Re: [PULL] drm-MISC-fixes

2023-06-08 Thread Maarten Lankhorst
Hey, On 2023-06-08 10:50, Jani Nikula wrote: > On Thu, 08 Jun 2023, Maarten Lankhorst > wrote: >> Oops, forgot to fix topic. :-) > And replied to the wrong message. ;) > > But why was it wrong, not using dim? Gah! I was grabbing the tmp file used for the pull request from

[PULL] drm-MISC-fixes

2023-06-08 Thread Maarten Lankhorst
Oops, forgot to fix topic. :-) On 2023-06-08 10:41, Joonas Lahtinen wrote: > Hi Dave & Daniel, > > Here's the drm-intel-fixes PR for v6.4-rc6. > > Couple of display compatibility fixes and two static checker fixes for > selftests. > > Regards, Joonas > > *** > > drm-intel-fixes-2023-06-08: > >

[PULL] drm-intel-fixes

2023-06-08 Thread Maarten Lankhorst
Hi Dave, Daniel, drm-misc-fixes for v6.4-rc6. Seems to be mostly small fixes, just a few more for ivpu. Cheers, ~Maarten drm-misc-fixes-2023-06-08: drm-misc-fixes for v6.4-rc6: - resume and modeset fixes for ast. - Fill in fb-helper vars more correctly. - Assorted ivpu fixes. - lima context

Re: [Intel-gfx] [RFC PATCH 0/4] Add support for DRM cgroup memory accounting.

2023-05-11 Thread Maarten Lankhorst
Hey, On 2023-05-11 12:14, Tvrtko Ursulin wrote: > > On 10/05/2023 19:46, Tejun Heo wrote: >> Hello, >> >> On Wed, May 10, 2023 at 04:59:01PM +0200, Maarten Lankhorst wrote: >>> The misc controller is not granular enough. A single computer may have any >&

[PULL] drm-misc-fixes

2023-05-11 Thread Maarten Lankhorst
t; drm-fixes. > > Am 26.04.23 um 07:59 schrieb Maarten Lankhorst: >> Hi Dave, Daniel, >> >> drm-misc-fixes pull request for rc1. drm-misc-next-fixes coming up.. next >> >> ~Maarten >> >> drm-misc-fixes-2023-04-26: >> drm-misc-fixes for v6.4

Re: [RFC PATCH 0/4] Add support for DRM cgroup memory accounting.

2023-05-11 Thread Maarten Lankhorst
Hey, On 2023-05-10 20:46, Tejun Heo wrote: > Hello, > > On Wed, May 10, 2023 at 04:59:01PM +0200, Maarten Lankhorst wrote: >> The misc controller is not granular enough. A single computer may have any >> number of >> graphics cards, some of them with multiple regi

Re: [RFC PATCH 0/4] Add support for DRM cgroup memory accounting.

2023-05-10 Thread Maarten Lankhorst
Hey, On 2023-05-05 21:50, Tejun Heo wrote: Hello, On Wed, May 03, 2023 at 10:34:56AM +0200, Maarten Lankhorst wrote: RFC as I'm looking for comments. For long running compute, it can be beneficial to partition the GPU memory between cgroups, so each cgroup can use its maximum amount

Re: [Intel-gfx] [RFC PATCH 2/4] drm/cgroup: Add memory accounting to DRM cgroup

2023-05-05 Thread Maarten Lankhorst
I just now noticed the other comments. Wiill address them. On 2023-05-03 17:31, Tvrtko Ursulin wrote: On 03/05/2023 09:34, Maarten Lankhorst wrote: Based roughly on the rdma and misc cgroup controllers, with a lot of the accounting code borrowed from rdma. The interface is simple: - populate

Re: [Intel-gfx] [RFC PATCH 2/4] drm/cgroup: Add memory accounting to DRM cgroup

2023-05-03 Thread Maarten Lankhorst
On 2023-05-03 17:31, Tvrtko Ursulin wrote: On 03/05/2023 09:34, Maarten Lankhorst wrote: Based roughly on the rdma and misc cgroup controllers, with a lot of the accounting code borrowed from rdma. The interface is simple: - populate drmcgroup_device->regions[..] name and size for e

Re: [Intel-xe] [RFC PATCH 3/4] drm/ttm: Handle -EAGAIN in ttm_resource_alloc as -ENOSPC.

2023-05-03 Thread Maarten Lankhorst
On 2023-05-03 11:11, Thomas Hellström wrote: Hi, Maarten On 5/3/23 10:34, Maarten Lankhorst wrote: This allows the drm cgroup controller to return no space is available.. XXX: This is a hopeless simplification that changes behavior, and returns -ENOSPC even if we could evict ourselves from

[RFC PATCH 4/4] drm/xe: Add support for the drm cgroup

2023-05-03 Thread Maarten Lankhorst
Add some code to implement basic support for the vram0, vram1 and stolen memory regions. I fear the try_charge code should probably be done inside TTM. This code should interact with the shrinker, but for a simple RFC it's good enough. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/xe

[RFC PATCH 2/4] drm/cgroup: Add memory accounting to DRM cgroup

2023-05-03 Thread Maarten Lankhorst
ent amount of allocated memory used by this cgroup. drm.events shows the amount of time max memory was reached. Signed-off-by: Maarten Lankhorst --- Documentation/admin-guide/cgroup-v2.rst | 46 ++ Documentation/gpu/drm-compute.rst | 54 +++ include/linux/cgroup_drm.h |

[RFC PATCH 3/4] drm/ttm: Handle -EAGAIN in ttm_resource_alloc as -ENOSPC.

2023-05-03 Thread Maarten Lankhorst
the current cgroup or its parents. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/ttm/ttm_bo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index bd5dae4d1624..e057d5d8f09a 100644 --- a/drivers/gpu/drm/ttm

[RFC PATCH 1/4] cgroup: Add the DRM cgroup controller

2023-05-03 Thread Maarten Lankhorst
From: Tvrtko Ursulin Skeleton controller without any functionality. Signed-off-by: Tvrtko Ursulin Signed-off-by: Maarten Lankhorst --- include/linux/cgroup_drm.h| 9 ++ include/linux/cgroup_subsys.h | 4 +++ init/Kconfig | 7 kernel/cgroup/Makefile

[RFC PATCH 0/4] Add support for DRM cgroup memory accounting.

2023-05-03 Thread Maarten Lankhorst
accounting, so I only ended up keeping the base patch. Xe is not upstream yet, so the driver specific patch will only apply on https://gitlab.freedesktop.org/drm/xe/kernel Maarten Lankhorst (3): drm/cgroup: Add memory accounting to DRM cgroup drm/ttm: Handle -EAGAIN in ttm_resource_alloc as -ENOSPC

[PULL] drm-misc-next-fixes

2023-04-26 Thread Maarten Lankhorst
Hey Dave, Daniel, Complementary pull request for drm-misc-next-fixes! ~Maarten drm-misc-next-fixes-2023-04-26: drm-misc-next-fixes for v6.4-rc1: - Revert uAPI from accel/qaic. - Fix TTM build on archs where PMD_SHIFT is not constant. - Improve error handling in nt35950. - Fix double

[PULL] drm-misc-fixes

2023-04-26 Thread Maarten Lankhorst
Hi Dave, Daniel, drm-misc-fixes pull request for rc1. drm-misc-next-fixes coming up.. next ~Maarten drm-misc-fixes-2023-04-26: drm-misc-fixes for v6.4-rc1: - Fix DSC macros. - Fix VESA format for simplefb. - Prohibit potential out-of-bounds access in generic fbdev emulation. - Improve AST2500+

[PULL] drm-misc-next

2023-04-12 Thread Maarten Lankhorst
Good afternoon Daniel, Dave, One last pull request for drm-misc-next. Small one, so easy to merge. As a result also more likely to eat your computer alive. ;) Cheers, ~Maarten drm-misc-next-2023-04-12: drm-misc-next for v6.4-rc1: Cross-subsystem Changes: - Convert MIPI DSIM bridge to

Re: [PATCH] fbmem: Reject FB_ACTIVATE_KD_TEXT from userspace

2023-04-11 Thread Maarten Lankhorst
Zimmermann Cc: Daniel Vetter Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Cc: # v5.7+ Cc: Bartlomiej Zolnierkiewicz Cc: Geert Uytterhoeven Cc: Nathan Chancellor Cc: Qiujun Huang Cc: Peter Rosin Cc: linux-fb...@vger.kernel.o

[PULL] drm-intel-gt-next

2023-04-06 Thread Maarten Lankhorst
Hi Dave, Daniel, Pull request to avoid backmerges. ;) Cheers, ~Maarten drm-misc-next-2023-04-06: drm-misc-next for v6.4-rc1: UAPI Changes: Cross-subsystem Changes: - Document port and rotation dt bindings better. - For panel timing DT bindings, document that vsync and hsync are first, rather

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

2023-04-06 Thread Maarten Lankhorst
: Dave Airlie Cc: Daniel Vetter Cc: Oded Gabbay Signed-off-by: Rodrigo Vivi Signed-off-by: Francois Dugast Signed-off-by: Luis Strano Signed-off-by: Matthew Brost Signed-off-by: Thomas Hellström Signed-off-by: Maarten Lankhorst --- Documentation/gpu/rfc/index.rst | 4 + Documentation/gpu

[PULL] drm-misc-next

2023-03-31 Thread Maarten Lankhorst
: boe,tv101wum-nl6: document rotation Maarten Lankhorst (1): Merge remote-tracking branch 'drm/drm-next' into drm-misc-next Pin-yen Lin (3): drm/bridge: ps8640: Skip redundant bridge enable drm/bridge: ps8640: Add a cache for EDID drm/bridge: ps8640: Return NULL immediately

Re: [PATCH v3 1/7] drm/dp_helper: Add helper to check DSC support with given o/p format

2023-03-24 Thread Maarten Lankhorst
ack On 2023-03-20 09:59, Jani Nikula wrote: Thomas, Maxime, Maarten, ack for merging this one via drm-intel? BR, Jani. On Thu, 09 Mar 2023, Suraj Kandpal wrote: From: Ankit Nautiyal Add helper to check if the DP sink supports DSC with the given o/p format. v2: Add documentation for the

[PULL] drm-misc-next

2023-03-23 Thread Maarten Lankhorst
Hi Dave, Daniel, Lots of small commits with cleanup and fixes this time around, nothing major otherwise. Cheers, ~Maarten drm-misc-next-2023-03-23: drm-misc-next for v6.4-rc1: Core Changes: - Add unit test for xrgb to mono. - Assorted small fixes to format helper selftests. - Assorted

[PULL] drm-misc-next

2023-03-16 Thread Maarten Lankhorst
Hi Dave, Daniel, Here's the new weekly pull request for v6.4-rc1. I've omitted the diffstat, as it was huge because v6.3-rc1 was backmerged. Cheers, ~Maarten drm-misc-next-2023-03-16: drm-misc-next for v6.4-rc1: Cross-subsystem Changes: - Add drm_bridge.h to drm_bridge maintainers. Core

Re: [Intel-gfx] [Intel-xe] [PATCH] drm/xe/display: Do not use i915 frontbuffer tracking implementation

2023-03-09 Thread Maarten Lankhorst
On 2023-03-09 12:04, Hogander, Jouni wrote: On Mon, 2023-03-06 at 22:58 +0200, Ville Syrjälä wrote: On Mon, Mar 06, 2023 at 09:23:50PM +0100, Maarten Lankhorst wrote: Hey, On 2023-03-06 16:23, Souza, Jose wrote: On Mon, 2023-03-06 at 15:16 +0100, Maarten Lankhorst wrote: As a fallback

Re: [Intel-gfx] [Intel-xe] [PATCH] drm/xe/display: Do not use i915 frontbuffer tracking implementation

2023-03-08 Thread Maarten Lankhorst
Hey, On 2023-03-08 14:36, Ville Syrjälä wrote: On Wed, Mar 08, 2023 at 01:47:12PM +0100, Maarten Lankhorst wrote: On 2023-03-06 21:58, Ville Syrjälä wrote: On Mon, Mar 06, 2023 at 09:23:50PM +0100, Maarten Lankhorst wrote: Hey, On 2023-03-06 16:23, Souza, Jose wrote: On Mon, 2023-03-06

Re: [Intel-gfx] [Intel-xe] [PATCH] drm/xe/display: Do not use i915 frontbuffer tracking implementation

2023-03-08 Thread Maarten Lankhorst
On 2023-03-06 21:58, Ville Syrjälä wrote: On Mon, Mar 06, 2023 at 09:23:50PM +0100, Maarten Lankhorst wrote: Hey, On 2023-03-06 16:23, Souza, Jose wrote: On Mon, 2023-03-06 at 15:16 +0100, Maarten Lankhorst wrote: As a fallback if we decide not to merge the frontbuffer tracking, allow i915

Re: [PATCH RFC 11/18] drm/scheduler: Clean up jobs when the scheduler is torn down

2023-03-08 Thread Maarten Lankhorst
On 2023-03-07 15:25, Asahi Lina wrote: drm_sched_fini() currently leaves any pending jobs dangling, which causes segfaults and other badness when job completion fences are signaled after the scheduler is torn down. Explicitly detach all jobs from their completion callbacks and free them. This

[PULL] drm-misc-next

2023-03-07 Thread Maarten Lankhorst
Set orientation on panel_bridge connector Maarten Lankhorst (3): drm/suballoc: Extract amdgpu_sa.c as generic suballocation helper drm/amd: Convert amdgpu to use suballocation helper. drm/radeon: Use the drm suballocation manager implementation. Matthew Auld (6): drm/i915/ttm:

Re: [Intel-xe] [PATCH] drm/xe/display: Do not use i915 frontbuffer tracking implementation

2023-03-06 Thread Maarten Lankhorst
Hey, On 2023-03-06 16:23, Souza, Jose wrote: On Mon, 2023-03-06 at 15:16 +0100, Maarten Lankhorst wrote: As a fallback if we decide not to merge the frontbuffer tracking, allow i915 to keep its own implementation, and do the right thing in Xe. The frontbuffer tracking for Xe is still done per

[PATCH] drm/xe/display: Do not use i915 frontbuffer tracking implementation

2023-03-06 Thread Maarten Lankhorst
-off-by: Maarten Lankhorst --- .../gpu/drm/i915/display/intel_display_types.h | 12 drivers/gpu/drm/i915/display/intel_drrs.c | 1 + drivers/gpu/drm/i915/display/intel_fb.c | 8 +--- drivers/gpu/drm/i915/display/intel_fbdev.c | 2 +- .../gpu/drm/i915/display

Re: [Intel-xe] [PATCH v4 0/3] drm/helpers: Make the suballocation manager drm generic

2023-02-27 Thread Maarten Lankhorst
On 2/24/23 10:51, Thomas Hellström wrote: This series (or at least the suballocator helper) is a prerequisite for the new Xe driver. There was an unresolved issue when the series was last up for review, and that was the per allocation aligment. Last message was from Maarten Lankhorst arguing

[PULL] drm-misc-next-fixes

2023-02-23 Thread Maarten Lankhorst
Hi Dave and Daniel, Here's the first pull request for v6.4-rc1. Enjoy! ~Maarten drm-misc-next-2023-02-23: drm-misc-next for v6.4-rc1: First pull request to keep the delta from growing too big. UAPI Changes: - Convert rockchip bindings to YAML. - Constify kobj_type structure in dma-buf. -

Re: Question: partial transfers of DMABUFs

2023-02-15 Thread Maarten Lankhorst
On 2023-02-15 13:00, Paul Cercueil wrote: Hi Maarten, Le mercredi 15 février 2023 à 12:52 +0100, Maarten Lankhorst a écrit : Hey, On 2023-02-15 12:47, Paul Cercueil wrote: Hi Maarten, Le mercredi 15 février 2023 à 12:30 +0100, Maarten Lankhorst a écrit : Hey, On 2023-02-15 11:48, Paul

Re: Question: partial transfers of DMABUFs

2023-02-15 Thread Maarten Lankhorst
Hey, On 2023-02-15 12:47, Paul Cercueil wrote: Hi Maarten, Le mercredi 15 février 2023 à 12:30 +0100, Maarten Lankhorst a écrit : Hey, On 2023-02-15 11:48, Paul Cercueil wrote: Hi, I am working on adding support for DMABUFs in the IIO subsystem. One thing we want there, is the ability

Re: Question: partial transfers of DMABUFs

2023-02-15 Thread Maarten Lankhorst
Hey, On 2023-02-15 11:48, Paul Cercueil wrote: Hi, I am working on adding support for DMABUFs in the IIO subsystem. One thing we want there, is the ability to specify the number of bytes to transfer (while still defaulting to the DMABUF size). Since dma_buf_map_attachment() returns a

Re: RFC: dma_resv_unlock() and ww_acquire_ctx scope

2023-01-19 Thread Maarten Lankhorst
On 2023-01-19 11:24, Paul Cercueil wrote: Hi, Just a reflexion I have after an intensive (and intense) debugging session. I had the following code: int my_dma_resv_lock(struct dma_buf *dmabuf) { struct ww_acquire_ctx ctx; int ret; ww_acquire_init(, _ww_class);

[PULL] drm-misc-fixes

2022-12-08 Thread Maarten Lankhorst
Hey Dave, drm-misc-fixes for v6.1 final. A bit late, hopefully just in time. drm-misc-fixes-2022-12-08: drm-misc-fixes for v6.1 final?: - Fix polarity bug in bridge/ti-sn65dsi86. - Prefer 8-bit RGB fallback before any YUV mode in dw-hdmi, since some panels lie about YUV support. - Fixes

[PULL] drm-misc-fixes

2022-11-30 Thread Maarten Lankhorst
Hey Daniel and Dave, A single fix to vmwgfx mks-guest-stats ioctl. I lost my internet connection when pushing the tag, so I put together this mail manually. I hope you remember where drm-misc is hosted. :) Enjoy! Maarten Lankhorst drm-misc-fixes-2022-11-30: drm-misc-fixes for v6.1-rc8/final

[PULL] drm-misc-fixes

2022-11-24 Thread Maarten Lankhorst
Hey Daniel and Dae, Not much here, a few fixes to dma-fence handling and a fix to amdgpu and logo. Enjoy! Maarten Lankhorst drm-misc-fixes-2022-11-24: drm-misc-fixes for v6.1-rc7: - Another amdgpu gang submit fix. - Use dma_fence_unwrap_for_each when importing sync files. - Fix race

[PULL] drm-misc-fixes

2022-11-17 Thread Maarten Lankhorst
Hi Dave, Daniel, A few fixes for v6.1-rc6. Most important one apears to be reverting a change that breaks DP-MST. drm-misc-fixes-2022-11-17: drm-misc-fixes for v6.1-rc6: - Fix error handling in vc4_atomic_commit_tail() - Set bpc for logictechno panels. - Fix potential memory leak in

[PULL] drm-misc-fixes

2022-11-09 Thread Maarten Lankhorst
Hey Daniel & Dave, Another small pull request. Various small assorted fixes. drm-misc-fixes-2022-11-09: drm-misc-fixes for v6.1-rc5: - HDMI fixes to vc4. - Make panfrost's uapi header compile with C++. - Add rotation quirks for 2 panels. - Fix s/r in amdgpu_vram_mgr_new - Handle 1 gb

[PULL] drm-misc-fixes

2022-11-02 Thread Maarten Lankhorst
I had a massive disk crash, and my pull request is unsigned this one time. However, it is signed with the promise the next tag will be signed again! - drm-misc-fixes-2022-11-02-1: drm-misc-fixes for v6.1-rc4: - Small fixes to make rockchip work better. - Fix imx Kconfig. - Small fix to imx'

[PULL] drm-misc-fixes

2022-10-27 Thread Maarten Lankhorst
() Christian König (1): drm/scheduler: fix fence ref counting Douglas Anderson (1): drm/bridge: ps8640: Add back the 50 ms mystery delay after HPD Maarten Lankhorst (1): Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes

[PULL] drm-misc-fixes

2022-10-20 Thread Maarten Lankhorst
drm-misc-fixes-2022-10-20: drm-misc-fixes for v6.1-rc2: - Fix a buffer overflow in format_helper_test. - Set DDC pointer in drmm_connector_init. - Compiler fixes for panfrost. The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780: Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

[PULL] drm-misc-next

2022-09-30 Thread Maarten Lankhorst
Small final pull request for v6.1, if still before deadline! drm-misc-next-2022-09-30: drm-misc-next for v6.1: Core Changes: - Add dma_resv_assert_held to vmap/vunmap calls. - Add kunit tests for some format conversion calls. - Don't rewrite link config when setting phy test pattern in DP link

Re: [PATCH 1/4] drm: Add missing DP DSC extended capability definitions.

2022-09-28 Thread Maarten Lankhorst
mment warning >> v3: - Removed function which is not yet used(Jani Nikula) >> >> Reviewed-by: Vinod Govindapillai >> >> Signed-off-by: Stanislav Lisovskiy > Maarten, Maxime, Thomas - > > Retry, can we get an ack for merging this one via drm-intel-next? >

[PULL] drm-misc-next

2022-09-09 Thread Maarten Lankhorst
Hello Dave, Daniel, Another pull request for drm-misc-next, enjoy! ~Maarten drm-misc-next-2022-09-09: drm-misc-next for v6.1-rc1: UAPI Changes: - Hide unregistered connectors from GETCONNECTOR ioctl. - drm/virtio no longer advertises LINEAR modifier, as it doesn't work. - Cross-subsystem

[PULL] drm-misc-next

2022-09-06 Thread Maarten Lankhorst
Hi Dave, Daniel, A pull request prepared in Germany and Denmark, but sent from Sweden after fighting with gpg on an infamous bridge. My computer's somewhere in my trunk so I just copied someone else's pull request and pretend my laptop is a dev machine that sends pull requests every day

[PATCH 1/2] drm/i915: Remove gem and overlay frontbuffer tracking

2022-08-25 Thread Maarten Lankhorst
Frontbuffer update handling should be done explicitly by using dirtyfb calls only. Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/display/intel_fb.c | 1 + drivers/gpu/drm/i915/display/intel_overlay.c | 14 --- .../drm/i915/display/intel_plane_initial.c| 1

[PATCH 0/2] drm/i915: Remove frontbuffer tracking from gem.

2022-08-25 Thread Maarten Lankhorst
Frontbuffer tracking in gem is used in old drivers, but nowadays everyone calls dirtyfb explicitly. Remove frontbuffer tracking from gem, and isolate it to display only. Maarten Lankhorst (2): drm/i915: Remove gem and overlay frontbuffer tracking drm/i915: Remove special frontbuffer type

[PATCH 2/2] drm/i915: Remove special frontbuffer type

2022-08-25 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/display/intel_cursor.c | 6 +- drivers/gpu/drm/i915/display/intel_display.c | 4 +- .../drm/i915/display/intel_display_types.h| 8 +- drivers/gpu/drm/i915/display/intel_fb.c | 10 +- drivers/gpu/drm/i915/display

Re: [PATCH] drm/i915: Use i915_gem_object_ggtt_pin_ww for reloc_iomap

2022-05-11 Thread Maarten Lankhorst
Op 11-05-2022 om 20:23 schreef Matthew Auld: > On 11/05/2022 12:52, Maarten Lankhorst wrote: >> Instead of its own path, use the common path when it doesn't result >> in evicting any vma. This fixes the case where we don't wait for >> binding. >> > > https:/

[PATCH] drm/i915: Use i915_gem_object_ggtt_pin_ww for reloc_iomap

2022-05-11 Thread Maarten Lankhorst
de Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c index 498b458fd784..919d01082

[PULL] drm-misc-fixes

2022-05-05 Thread Maarten Lankhorst
drm-misc-fixes-2022-05-05: drm-misc-fixes for v5.18-rc6: - Small fix for hot-unplugging fb devices. - Kconfig fix for it6505. The following changes since commit dc3ae06c5f2170d879ff58696f629d8c3868aec3: drm/sun4i: Remove obsolete references to PHYS_OFFSET (2022-04-26 14:39:56 +0200) are

[PULL] drm-misc-fixes

2022-04-27 Thread Maarten Lankhorst
drm-misc-fixes-2022-04-27: drm-misc-fixes for v5.18-rc5: - Single fix removing applying PHYS_OFFSET twice in sunxi. The following changes since commit 94f4c4965e5513ba624488f4b601d6b385635aec: drm/amdgpu: partial revert "remove ctx->lock" v2 (2022-04-21 11:26:20 +0200) are available in the Git

  1   2   3   4   5   6   7   8   9   10   >