I don't think there's an immediate use for this in drm-misc, so its
easier to merge through xe. :-)
Acked-by: Maarten Lankhorst
Den 2024-10-03 kl. 02:46, skrev john.c.harri...@intel.com:
From: Michal Wajdeczko
This drm printer wrapper can be used to increase the robustness of
th
Hi Dave, Simona,
Another pull request for v6.13, to keep up with the huge rate of
changes. :-)
Forgot to mention in the summary that Louis Chauvet is taking over from
Rodrigo Siqueira as vkmms maintainer, sorry about that!
Cheers,
Maarten
drm-misc-next-2024-09-26:
drm-misc-next for v6.13:
Hi Dave, Simona,
First pull request for v6.12!
Enjoy!
Cheers,
~Maarten
drm-misc-next-2024-09-20:
drm-misc-next for v6.12:
UAPI Changes:
- Add panthor/DEV_QUERY_TIMESTAMP_INFO query.
Cross-subsystem Changes:
- Updated dt bindings.
- Add documentation explaining default errnos for fences.
- Mar
The most recent merge commits introduced some fails to drm/drm-next,
I've noticed these when looking at the xe patches.
Solve it!
Signed-off-by: Maarten Lankhorst
---
drivers/gpu/drm/xe/display/xe_display.c | 2 --
drivers/gpu/drm/xe/xe_pm.c | 4 +---
2 files changed, 1 inse
Acked-by: Maarten Lankhorst
Den 2024-08-17 kl. 02:06, skrev Lucas De Marchi:
> On Fri, Aug 16, 2024 at 02:52:28PM GMT, Juha-Pekka Heikkila wrote:
>> Add Tile4 type ccs modifiers to indicate presence of compression on Xe2.
>> Here is defined I915_FORMAT_MOD_4_TILED_LNL_CCS whi
Hey,
Den 2024-07-15 kl. 06:21, skrev Golani, Mitulkumar Ajitkumar:
>
> On 15-07-2024 04:42, Stephen Rothwell wrote:
>> Hi all,
>>
>> On Wed, 12 Jun 2024 14:11:10 +1000 Stephen Rothwell
>> wrote:
>>> After merging the drm-intel tree, today's linux-next build (htmldocs)
>>> produced this warning:
Hi Dave, Sima,
Few fixes for v6.10. :)
Cheers,
~Maarten
drm-misc-fixes-2024-07-11:
drm-misc-fixes for v6.10:
- EDID irq fix for bridge/adv7511.
- gma500 null mode fixes.
- Cleanup meson binding.
The following changes since commit 256abd8e550ce977b728be79a74e1729438b4948:
Linux 6.10-rc7 (2024-
Hi Dave, Sima,
A nicely filled fixes tree just for you! And the rest of the world!
Cheers,
~Maarten
drm-misc-fixes-2024-07-04:
drm-misc-fixes for v6.10-rc7:
- Add panel quirks.
- Firmware sysfb refcount fix.
- Another null pointer mode deref fix for nouveau.
- Panthor sync and uobj fixes.
- Fix
Den 2024-06-28 kl. 16:04, skrev Maxime Ripard:
> Hi,
>
> On Thu, Jun 27, 2024 at 09:22:56PM GMT, Maarten Lankhorst wrote:
>> Den 2024-06-27 kl. 19:16, skrev Maxime Ripard:
>>> Hi,
>>>
>>> Thanks for working on this!
>>>
>>> On
Hey,
Den 2024-06-27 kl. 19:16, skrev Maxime Ripard:
Hi,
Thanks for working on this!
On Thu, Jun 27, 2024 at 05:47:21PM GMT, Maarten Lankhorst wrote:
The initial version was based roughly on the rdma and misc cgroup
controllers, with a lot of the accounting code borrowed from rdma.
The
We will probably want to make this a proper region in TTM for
everything, so that we can charge VRAM twice, once for mapped
in sysmem, once for mapped in vram. That way we don't need to
deal with evict failing from lack of available memory in mapped.
Signed-off-by: Maarten Lankhorst
---
dr
his
version has a lot better chance of being upstreamed than the previous. It should
be a lot more scalable thanks to the usage of RCU and page_counter.
Cheers,
Maarten
Maarten Lankhorst (6):
mm/page_counter: Move calculating protection values to page_counter
drm/cgroup: Add memory accoun
only from
cgroups which are a subgroup of the current cgroup.
The returned CSS is used to determine if eviction is valuable for a
given resource, and allows TTM to only target specific resources to
lower memory usage.
Signed-off-by: Maarten Lankhorst
Co-developed-by: Friedrich Vock
---
drivers
Add vram based cgroup eviction to Xe.
Most hardware with VRAM uses TTM for its management, and can be
similarly trivially enabled.
Signed-off-by: Maarten Lankhorst
---
drivers/gpu/drm/xe/xe_device.c | 4
drivers/gpu/drm/xe/xe_device_types.h | 4
drivers/gpu/drm/xe
It's a lot of math, and there is nothing memcontrol specific about it.
This makes it easier to use inside of the drm cgroup controller.
Signed-off-by: Maarten Lankhorst
---
include/linux/page_counter.h | 4 +
mm/memcontrol.c | 154 +-
Similar to xe, enable some simple management of VRAM only.
Signed-off-by: Maarten Lankhorst
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 6 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 6 ++
3 files changed, 14 insertions
, drop reference to limiting cs with
drmcs_pool_put.
This API allows you to limit device resources with cgroups.
You can see the supported cards in /sys/fs/cgroup/drm.capacity
You need to echo +drm to cgroup.subtree_control, and then you can
partition memory.
Signed-off-by: Maarten Lankhorst
Hi Dave, Sima,
Was out last week, didn't happen much anyway with only 2 patches, so
have a double sized -fixes this week.
Cheers,
~Maarten
drm-misc-fixes-2024-06-26:
drm-misc-fixes for v6.10-rc6:
- nouveau tv mode fixes.
- Add KOE TX26D202VM0BWA timings.
- Fix fb_info when vmalloc is used, re
Hi Dave, Sima,
Got a bit distracted with drm-misc-next-fixes yesterday, so here's a
slightly late drm-misc-fixes.
Cheers,
~Maarten
drm-misc-fixes-2024-06-14:
drm-misc-fixes for v6.10-rc4:
- Kconfig fix for WERROR.
- Add panel quirk for Aya Neo KUN
- Small bugfixes in komeda, bridge/panel, amd
Hi Dave, Sima,
Pull request for a single patch lost in the wrong tree.
Cheers,
~Maarten
drm-misc-next-fixes-2024-06-07:
drm-misc-next-fixes for v6.10-rc3:
- Single unused struct removal that should have been in -fixes.
The following changes since commit 5a507b7d2be15fddb95bf8dee01110b723e2bcd9:
Hi Dave, Sima,
Lots of fixes for vmwgfx all over the place, and one fix for sitronix panel.
Cheers,
Maarten
drm-misc-fixes-2024-06-07:
drm-misc-fixes for v6.10-rc3:
- Robustness fixes for vmwgfx.
- Error check for of_drm_get_panel_orientation failing in
sitronix-st7789v.
The following changes
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 al
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 commit
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
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
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 desk
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 Cha
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
driv
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 smal
ix. :(
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
---
dri
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.
- All
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
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.
- Improve
_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
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 -> intel_power_domains_ini
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 6c
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 c
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 end_
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
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 add
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
this is causing 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 +--
drive
asn't 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/i9
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 Himax83102-j0
:
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
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
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 sh
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 8f5ad367e8b884772945c6c9fb622ac94b
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: mov
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 NV20
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,
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 dr
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 co
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.
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 f
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
--- a
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
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 wo
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
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 purg
he drm branches.
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.freedesk
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 45a3e24f65e90a047bef8
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 h
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
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
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:
>
> CDC
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 d
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
>>
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
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
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 amou
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
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
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
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/d
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 |
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
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
g weight, not memory 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_resou
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 unregister
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+
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 ya
Cc: Thomas 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...@vge
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
: 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
s: display: 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: Ret
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
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 doc
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 Ch
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 if
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 at
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
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
drm/bridge: panel: 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
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
-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
homas
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 ar
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.
- FBD
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
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 to
1 - 100 of 1056 matches
Mail list logo