STRUCT DM_TEST_COLOR_UPDATE_FIXTURE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct dm_test_color_update_fixture(9) β€” Kernel API Manual ✨

okay so bestie, welcome to the Kernel API Manual, and today's main character is this little struct: struct dm_test_color_update_fixture πŸ’– it's the minimal color update fixture β€” like, the absolute bare-minimum setup bundle the color-management tests need to actually do their thing. no cap, it's giving "starter pack" energy πŸŽ€


🌸 SYNOPSIS 🌸

struct dm_test_color_update_fixture {
    struct amdgpu_device *adev;
    struct drm_atomic_commit *state;
    struct dm_crtc_state *crtc_state;
    struct dc_stream_state *stream;
    struct dm_plane_state *dm_plane_state;
    struct drm_plane *plane;
    struct dc_plane_state *dc_plane_state;
 };

literally copy that exactly, bestie, every pointer and every semicolon, iykyk 🫢


πŸ¦‹ Members πŸ¦‹

  • adev β€” the backing amdgpu device. this is the whole reason any of this exists, the parent-friend of the group chat πŸ’œ
  • state β€” the DRM atomic state, and it's carrying adev's DRM device with it. package deal πŸŽ€
  • crtc_state β€” the DM CRTC state that's actually under test, the one on the runway 🌈
  • stream β€” the DC stream that crtc_state points at. they're linked, fr fr πŸ”—
  • dm_plane_state β€” the DM plane state under test. yes queen, another one πŸ“‹
  • plane β€” the DRM plane that dm_plane_state references. inseparable besties πŸ’«
  • dc_plane_state β€” the DC plane state under test. the final member, and she ate πŸ”₯

🌟 SEE ALSO 🌟

πŸ“ Kernel file

  • ./drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_color_test.c

🧚 The whole friend group (all of them, no skipping, periodt)


not me listing every single one of those references πŸ’€ but that's the vibe check: if it's in the SEE ALSO, it's in here. no cuts, no "etc.", periodt πŸ‘‘

🌸 okay that's the whole page, bestie! source is ./drivers/gpu/drm/amd/display/... and this absolute icon dropped October 2026 β€” go forth and test some color updates, mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from