mirror of
https://github.com/torvalds/linux.git
synced 2026-04-27 11:02:31 -04:00
drm/vmwgfx: Port vmwgfx to arm64
This change fixes all of the arm64 issues we've had in the driver. ARM support is provided in svga version 3, for which support we've added in previous changes. svga version 3 currently lacks many of the advanced features (in particular 3D support is lacking) but that will change in time. Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210505035740.286923-7-zackr@vmware.com
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include <drm/drm_sysfs.h>
|
||||
#include <drm/ttm/ttm_bo_driver.h>
|
||||
#include <drm/ttm/ttm_placement.h>
|
||||
#include <generated/utsrelease.h>
|
||||
|
||||
#include "ttm_object.h"
|
||||
#include "vmwgfx_binding.h"
|
||||
@@ -781,7 +782,6 @@ static int vmw_driver_load(struct vmw_private *dev_priv, u32 pci_id)
|
||||
int ret;
|
||||
enum vmw_res_type i;
|
||||
bool refuse_dma = false;
|
||||
char host_log[100] = {0};
|
||||
struct pci_dev *pdev = to_pci_dev(dev_priv->drm.dev);
|
||||
|
||||
dev_priv->vmw_chipset = pci_id;
|
||||
@@ -1050,10 +1050,9 @@ static int vmw_driver_load(struct vmw_private *dev_priv, u32 pci_id)
|
||||
DRM_INFO("SM4 support available.\n");
|
||||
DRM_INFO("Running without reservation semaphore\n");
|
||||
|
||||
snprintf(host_log, sizeof(host_log), "vmwgfx: Module Version: %d.%d.%d",
|
||||
VMWGFX_DRIVER_MAJOR, VMWGFX_DRIVER_MINOR,
|
||||
VMWGFX_DRIVER_PATCHLEVEL);
|
||||
vmw_host_log(host_log);
|
||||
vmw_host_printf("vmwgfx: Module Version: %d.%d.%d (kernel: %s)",
|
||||
VMWGFX_DRIVER_MAJOR, VMWGFX_DRIVER_MINOR,
|
||||
VMWGFX_DRIVER_PATCHLEVEL, UTS_RELEASE);
|
||||
|
||||
if (dev_priv->enable_fb) {
|
||||
vmw_fifo_resource_inc(dev_priv);
|
||||
|
||||
Reference in New Issue
Block a user