Skip to content
Snippets Groups Projects
Commit bda17c73 authored by Simon Ser's avatar Simon Ser Committed by Dylan Baker
Browse files

etnaviv: fail in get_handle(TYPE_KMS) without a scanout resource


The previous logic was returning a handle valid for the render-only
device if rsc->scanout was NULL. However the caller doesn't expect
this: the caller will use the handle with the KMS device.

Instead of returning a handle for the wrong device, fail if we don't
have one.

Signed-off-by: Simon Ser's avatarSimon Ser <contact@emersion.fr>
Reviewed-by: default avatarChristian Gmeiner <christian.gmeiner@gmail.com>
Cc: mesa-stable
Part-of: <mesa/mesa!12074>
(cherry picked from commit 9da901d2)
parent 1396ddcc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment