disp: msm: import DMA_BUF module symbols
This change imports the necessary DMA_BUF symbols from the module as they are now contained within the module namespace. Link: https://patchwork.kernel.org/project/dri-devel/patch/YU8oVDFoeD5YYeDT@kroah.com/#24477195 Change-Id: I18a0a812567425d55fedbab67f7a42d3f54351ca Signed-off-by: GG Hou <quic_renjhou@quicinc.com> Signed-off-by: Nilaan Gunabalachandran <quic_ngunabal@quicinc.com>
Cette révision appartient à :

révisé par
Prabhanjan Kandula

Parent
e567bba0d5
révision
5624dc5b2e
@@ -1,4 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (C) 2013 Red Hat
|
||||
* Author: Rob Clark <robdclark@gmail.com>
|
||||
@@ -20,6 +21,7 @@
|
||||
#include "msm_gem.h"
|
||||
#include "msm_mmu.h"
|
||||
#include "msm_kms.h"
|
||||
#include <linux/module.h>
|
||||
|
||||
#include <drm/drm_drv.h>
|
||||
|
||||
@@ -210,3 +212,7 @@ fail_put:
|
||||
|
||||
return ERR_PTR(ret);
|
||||
}
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 0))
|
||||
MODULE_IMPORT_NS(DMA_BUF);
|
||||
#endif
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur