Skip to content

Commit

Permalink
va: drop no longer applicable vaGetDriverNames check
Browse files Browse the repository at this point in the history
All the backends implement the callback. So this temporary check can go
now.

Signed-off-by: Emil Velikov <[email protected]>
  • Loading branch information
evelikov committed Jul 20, 2023
1 parent 6257832 commit 6b2bab1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions va/va.c
Original file line number Diff line number Diff line change
Expand Up @@ -674,10 +674,6 @@ static VAStatus va_new_opendriver(VADisplay dpy)
const char *driver_name_env;
VADriverContextP ctx;

/* XXX: Temporary dummy return, until all platforms are converted */
if (!pDisplayContext->vaGetDriverNames)
return VA_STATUS_ERROR_INVALID_PARAMETER;

/* XXX: The order is bonkers - env var should take highest priority, then
* override (which ought to be nuked) than native. It's not possible atm,
* since the DPY connect/init happens during the GetDriverNames.
Expand Down

0 comments on commit 6b2bab1

Please sign in to comment.