From: Ville Syrjälä <[email protected]>

Allow powervr to be built with COMPILE_TEST=y for greater
coverage. The driver only supports 64bit, so keep requiring
64BIT explicitly; previously that was implied by the
(ARM64 || RISCV && 64BIT) dependency. Builds fine on
x86_64 and arm64 at least.

Cc: Alessio Belle <[email protected]>
Cc: Luigi Santivetti <[email protected]>
Cc: [email protected]
Signed-off-by: Ville Syrjälä <[email protected]>
---
 drivers/gpu/drm/imagination/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/imagination/Kconfig 
b/drivers/gpu/drm/imagination/Kconfig
index 1fd4c635c2c9..a048d3c85938 100644
--- a/drivers/gpu/drm/imagination/Kconfig
+++ b/drivers/gpu/drm/imagination/Kconfig
@@ -3,7 +3,8 @@
 
 config DRM_POWERVR
        tristate "Imagination Technologies PowerVR (Series 6 and later) & IMG 
Graphics"
-       depends on (ARM64 || RISCV && 64BIT)
+       depends on ARM64 || RISCV || COMPILE_TEST
+       depends on 64BIT
        depends on DRM
        depends on MMU
        depends on PM
-- 
2.56.0

Reply via email to