[PATCH] drm/rockchip: remove atomic helper dirtyfb

Toni Spets toni.spets at iki.fi
Wed Feb 3 19:53:40 UTC 2021


The blocking implementation of the dirtyfb ioctl is extremely slow when
used for damage tracking on RK3399. If this implementation is in place Xorg
will default to using it and will slow down considerably when doing a lot
of small draws. This is most apparent with the fvwm window manager on
startup where it will almost lock up for many seconds seconds on RK3399.

Removing this implementation did not cause any visible issues on RK3399 but
it did fix the performance issues on Xorg as it will disable damage
tracking when the ioctl returns it's not supported.

-- 
Toni Spets
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20210203/8c0df616/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-rockchip-remove-atomic-helper-dirtyfb.patch
Type: text/x-patch
Size: 798 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20210203/8c0df616/attachment.bin>


More information about the dri-devel mailing list