[Intel-gfx] MSR - Maarten Lankhorst - October 2017

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Fri Oct 6 09:51:58 UTC 2017


=== Convert ioctls to interruptible ===
Various ioctl's were using noninterruptible locking. I've converted some of the most common ones
to use interruptible locking. This will allow programs to be interrupted when waiting for locking,
instead of being blocked indefinitely.

=== Reworking IGT's kms api ===
IGT has a very legacy-like api. For some things this is really useful, but when
we want to test other properties most tests had to step outside the api.

I've started exposing all properties directly, in such a way that even kms_atomic
can be rewritten to use the new API. There were some regressions that happened when
submitting, but thanks to BAT + full IGT runs done on IGT patch submission, they
have all been caught before patches were merged.

==== Remove deprecated accessor macros ===
for_each_$obj_in_state has been removed, in its place you can use for_each_(old/new/oldnew)_$obj_in_state,
which makes it more clear if you want to use previous or new state.

=== Move drm_crtc_commit to atomic state ===
By keeping track of the most recent commit in the atomic crtc/plane/connector state we managed to fix
ordering issues with connectors and planes, where they were re-used before unbinding was finished.
This was originally exposed by a kms_atomic_transition test, after which I added a test to explicitly
test for this case. This also allowed us to track whether a fast cursor update can be done, which allowed
us to clean up the fastpath.

 === Bugfixing ===
Various bugs squashed.



More information about the Intel-gfx mailing list