Daniel Vetter | 93871c6 | 2018-10-11 17:18:47 +0200 | [diff] [blame] | 1 | TODO |
| 2 | ==== |
| 3 | |
| 4 | This contains a list of refactoring, cleanup and getting-started tasks around |
| 5 | the IGT library. |
| 6 | |
| 7 | Split up igt_kms.c/igt_kms.h |
| 8 | ---------------------------- |
| 9 | |
| 10 | igt_kms contains both a low-level modeset library, with thin convenience |
| 11 | wrappers around core kernel code and libdrm. These functions usually have a |
| 12 | drmtest_ prefix (but not all of them). |
| 13 | |
| 14 | The other part is a higher-level library around the igt_display and related |
| 15 | structures. Those usually come with an igt_ prefix. |
| 16 | |
| 17 | The task would be to split this up, and where necessary, fix up the prefixes to |
| 18 | match the level a function operates at. |
| 19 | |
| 20 | Remove property enums from igt_kms |
| 21 | ---------------------------------- |
| 22 | |
| 23 | These are just needless indirection for writing tests. We can keep the #defines |
| 24 | (since those strings are defacto uapi), but everything else is best handled by |
| 25 | runtime-sizing all the arrays. |
| 26 | |
| 27 | Documentation |
| 28 | ------------- |
| 29 | |
| 30 | igt documentation is full of warnings and fairly incomplete. Pick a library, and |
| 31 | work together with its authors to fix things up. |