-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework device names #682
Rework device names #682
Commits on Jun 6, 2023
-
va: split the legacy opendriver to separate function
Move all the existing open driver code into a legacy function. It will soon be replaced (in gradual non-regressing manner) with a new shorter and more coherent solution. Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06021b8 - Browse repository at this point
Copy the full SHA 06021b8View commit details -
va: add vaGetDriverNames() internal ABI
The current GetDriver API is rather fragile and bonkers. In particular it does a two-step pass - number vs names. That in itself is not great, since it assumes the devices do not change in between. Additionally there is the assumption of index X will match device (name) X, which does not hold true. The most prominent issue is the inability to provide accurate number and list of names. Instead, we can have a single API, that provides both pieces of data in one go - shorter and simpler code - in reliable manner. Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 888e499 - Browse repository at this point
Copy the full SHA 888e499View commit details -
drm: split DisplayConnect into separate function
This way we can reuse it with the follow-up patches. Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 52b10da - Browse repository at this point
Copy the full SHA 52b10daView commit details -
drm: implement vaGetDriverNames
v2: Add WSL case v3: Drop sentinel, use ARRAY_SIZE Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1fff2a1 - Browse repository at this point
Copy the full SHA 1fff2a1View commit details -
Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d0fc7ba - Browse repository at this point
Copy the full SHA d0fc7baView commit details -
android: split DisplayConnect into separate function
This way we can reuse it with the follow-up patches. Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fa3d677 - Browse repository at this point
Copy the full SHA fa3d677View commit details -
android: implement vaGetDriverNames
Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for adac8db - Browse repository at this point
Copy the full SHA adac8dbView commit details -
android: remove legacy code paths
Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c52fc1 - Browse repository at this point
Copy the full SHA 5c52fc1View commit details -
wayland: implement vaGetDriverNames
Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 358e927 - Browse repository at this point
Copy the full SHA 358e927View commit details -
wayland: remove legacy code paths
Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5831118 - Browse repository at this point
Copy the full SHA 5831118View commit details -
win32: implement vaGetDriverNames
Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bad7c1b - Browse repository at this point
Copy the full SHA bad7c1bView commit details -
win32: remove legacy code paths
Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db7c872 - Browse repository at this point
Copy the full SHA db7c872View commit details -
va/x11/va_fglrx: remove some dead code
Drop a bunch of set but unused variables and associated dead code. Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b7abe7c - Browse repository at this point
Copy the full SHA b7abe7cView commit details -
va/x11/va_nvctrl: remove some dead code
Drop a bunch of set but unused variables and associated dead code. Note: if we are to remove the version handling, then 2/3 of the code in this file will become unused. Yet it's fairly subtle code and there's a notable chance of detection breaking if we remove it. So keep the variables around and (void) prefix them so the compiler does not warn. Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8e62bc1 - Browse repository at this point
Copy the full SHA 8e62bc1View commit details -
x11: implement vaGetDriverNames
v2: Drop sentinel, use ARRAY_SIZE Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7f94dbd - Browse repository at this point
Copy the full SHA 7f94dbdView commit details -
x11: allow disabling DRI3 via LIBVA_DRI3_DISABLE env var
There are some corner cases where DRI3 does not work correctly. While bug reports are appreciated, this enables users to get back to their machines in meaningful way - aka w/o having to rebuild libva. Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05e0d67 - Browse repository at this point
Copy the full SHA 05e0d67View commit details -
Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a615a1 - Browse repository at this point
Copy the full SHA 2a615a1View commit details -
drm: remove no longer used helpers
Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b6b7aa - Browse repository at this point
Copy the full SHA 2b6b7aaView commit details -
Signed-off-by: Emil Velikov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 89b15d1 - Browse repository at this point
Copy the full SHA 89b15d1View commit details