diff options
| author | Lyude Paul <lyude@redhat.com> | 2025-12-11 14:02:54 -0500 |
|---|---|---|
| committer | Lyude Paul <lyude@redhat.com> | 2025-12-20 00:29:52 -0500 |
| commit | 560271e10b2c86e95ea35afa9e79822e4847f07a (patch) | |
| tree | 9696a931462ba8924e9f2c84e3940387cf413454 /tools/lib/python | |
| parent | 6b991ad8dc3abfe5720fc2e9ee96be63ae43e362 (diff) | |
drm/nouveau/dispnv50: Don't call drm_atomic_get_crtc_state() in prepare_fb
Since we recently started warning about uses of this function after the
atomic check phase completes, we've started getting warnings about this in
nouveau. It appears a misplaced drm_atomic_get_crtc_state() call has been
hiding in our .prepare_fb callback for a while.
So, fix this by adding a new nv50_head_atom_get_new() function and use that
in our .prepare_fb callback instead.
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Fixes: 1590700d94ac ("drm/nouveau/kms/nv50-: split each resource type into their own source files")
Cc: <stable@vger.kernel.org> # v4.18+
Link: https://patch.msgid.link/20251211190256.396742-1-lyude@redhat.com
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
