diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2022-10-12 19:52:04 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2022-10-12 19:52:04 +0000 |
commit | a93a7e149f245db2622c1f748340b94a9f5e9944 (patch) | |
tree | 9174b5e630aaeffb8f61ba8337d1a7487d04d4aa | |
parent | 6856056ab916a29df24a189c42df6d7e1326e1b7 (diff) | |
parent | 6ca12afade8f6a26e35146b30897a15df4a2ceb4 (diff) | |
download | goldfish-opengl-a93a7e149f245db2622c1f748340b94a9f5e9944.tar.gz |
Merge "platform: remove kernel 5.4 workaround"
-rw-r--r-- | platform/linux/VirtGpuDevice.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/platform/linux/VirtGpuDevice.cpp b/platform/linux/VirtGpuDevice.cpp index 29464da8..77f25097 100644 --- a/platform/linux/VirtGpuDevice.cpp +++ b/platform/linux/VirtGpuDevice.cpp @@ -75,13 +75,9 @@ VirtGpuDevice::VirtGpuDevice(enum VirtGpuCapset capset) { ctx_set_params[0].value = 1; init.num_params = 1; - // TODO(b/218538495): A KI in the 5.4 kernel will sometimes result in capsets not - // being properly queried. -#if defined(__linux__) && !defined(__ANDROID__) ctx_set_params[1].param = VIRTGPU_CONTEXT_PARAM_CAPSET_ID; ctx_set_params[1].value = static_cast<uint32_t>(capset); init.num_params++; -#endif init.ctx_set_params = (unsigned long long)&ctx_set_params[0]; ret = drmIoctl(mDeviceHandle, DRM_IOCTL_VIRTGPU_CONTEXT_INIT, &init); |