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 authored and XinfengZhang committed Sep 13, 2023
1 parent 2a46d84 commit ee49ceb
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 ee49ceb

Please sign in to comment.