From 607aae165febf68d8bffc9b6d72f709a4f95af75 Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 4 Apr 2024 05:38:35 +0000 Subject: [PATCH] add cc_platform_has() for 6.6.24 drm --- sys/dev/pci/drm/include/linux/cc_platform.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/sys/dev/pci/drm/include/linux/cc_platform.h b/sys/dev/pci/drm/include/linux/cc_platform.h index e69de29bb2d..ddfdee44e66 100644 --- a/sys/dev/pci/drm/include/linux/cc_platform.h +++ b/sys/dev/pci/drm/include/linux/cc_platform.h @@ -0,0 +1,16 @@ +/* Public domain. */ + +#ifndef _LINUX_CC_PLATFORM_H +#define _LINUX_CC_PLATFORM_H + +#include + +#define CC_ATTR_GUEST_MEM_ENCRYPT 0 + +static inline bool +cc_platform_has(int x) +{ + return false; +} + +#endif -- 2.20.1