summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuchun Chen <guchun.chen@amd.com>2020-10-09 18:25:09 +0800
committerGuchun Chen <guchun.chen@amd.com>2020-10-09 18:41:56 +0800
commitead2dff075c1763fa4b8c73b90b1d784a6acda07 (patch)
tree0bdc0b0c662d84e2bc85123ea199915c6854c4be
parent2ed4fa05356f45973b94757b7ef1df6703c27cef (diff)
Revert "drm/amdgpu/kcl: Fix centOS passthrough issue"
This reverts commit 5a8ad34a916b07af3aee0504ad30adbef7979f99. Signed-off-by: Guchun Chen <guchun.chen@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 8139c496c3a6..8652eb2a3c0c 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -1602,7 +1602,7 @@ int amdgpu_file_to_fpriv(struct file *filp, struct amdgpu_fpriv **fpriv)
static struct drm_driver kms_driver = {
.driver_features =
DRIVER_HAVE_IRQ
-#if defined(HAVE_DRIVER_ATOMIC) && defined(HAVE_DRM_DEVICE_DRIVER_FEATURES)
+#ifdef HAVE_DRM_DEVICE_DRIVER_FEATURES
| DRIVER_ATOMIC
#endif /* HAVE_DRM_DEVICE_DRIVER_FEATURES */
#ifdef HAVE_DRM_DRV_DRIVER_IRQ_SHARED