nvk: Remove the last vestages of nouveau/winsys from core NVK

Everything now goes through NVKMD.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30033>
This commit is contained in:
Faith Ekstrand
2024-07-03 21:44:09 -05:00
committed by Marge Bot
parent 8a516394f9
commit 60c3c272ec
9 changed files with 1 additions and 27 deletions
-2
View File
@@ -19,8 +19,6 @@
#include "vk_pipeline_layout.h"
#include "vk_synchronization.h"
#include "nouveau_context.h"
#include "nv_push_cl906f.h"
#include "nv_push_cl90b5.h"
#include "nv_push_cla097.h"
-3
View File
@@ -15,9 +15,6 @@
#include "vk_format.h"
#include "nouveau_bo.h"
#include "nouveau_context.h"
#include "nvtypes.h"
#include "nv_push_cl902d.h"
#include "nv_push_cl90b5.h"
-2
View File
@@ -11,8 +11,6 @@
#include "nvk_physical_device.h"
#include "nvk_shader.h"
#include "nouveau_context.h"
#include "cla0b5.h"
#include "cla1c0.h"
#include "clc0c0.h"
-2
View File
@@ -18,8 +18,6 @@
#include "vk_render_pass.h"
#include "vk_standard_sample_locations.h"
#include "nouveau_context.h"
#include "nv_push_cl902d.h"
#include "nv_push_cl9097.h"
#include "nv_push_cl90b5.h"
-8
View File
@@ -10,16 +10,10 @@
#include "nvk_physical_device.h"
#include "nvk_shader.h"
#include "nvkmd/nvkmd.h"
#include "nvkmd/nouveau/nvkmd_nouveau.h"
#include "vk_pipeline_cache.h"
#include "vulkan/wsi/wsi_common.h"
#include "nouveau_context.h"
#include <fcntl.h>
#include <xf86drm.h>
#include "cl9097.h"
#include "clb097.h"
#include "clc397.h"
@@ -158,8 +152,6 @@ nvk_CreateDevice(VkPhysicalDevice physicalDevice,
if (result != VK_SUCCESS)
goto fail_init;
dev->ws_dev = nvkmd_nouveau_dev(dev->nvkmd)->ws_dev;
vk_device_set_drm_fd(&dev->vk, nvkmd_dev_get_drm_fd(dev->nvkmd));
dev->vk.command_buffer_ops = &nvk_cmd_buffer_ops;
-3
View File
@@ -37,9 +37,6 @@ struct nvk_device {
struct nvkmd_dev *nvkmd;
/* Leave this for now so we have less refactoring */
struct nouveau_ws_device *ws_dev;
struct nvk_upload_queue upload;
struct nvk_descriptor_table images;
+1 -4
View File
@@ -23,10 +23,7 @@
#include "vk_shader_module.h"
#include "vulkan/wsi/wsi_common.h"
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include <xf86drm.h>
#include "cl90c0.h"
#include "cl91c0.h"
@@ -1099,7 +1096,7 @@ nvk_get_vram_heap_available(struct nvk_physical_device *pdev)
VkResult
nvk_create_drm_physical_device(struct vk_instance *_instance,
drmDevicePtr drm_device,
struct _drmDevice *drm_device,
struct vk_physical_device **pdev_out)
{
struct nvk_instance *instance = (struct nvk_instance *)_instance;
-2
View File
@@ -11,8 +11,6 @@
#include "vk_format.h"
#include "vk_sampler.h"
#include "nouveau_context.h"
#include "util/bitpack_helpers.h"
#include "util/format/format_utils.h"
#include "util/format_srgb.h"
-1
View File
@@ -12,7 +12,6 @@
#include "nak.h"
#include "nir.h"
#include "nouveau_bo.h"
#include "vk_shader.h"