summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/inc
diff options
context:
space:
mode:
authorDmytro Laktyushkin2019-05-29 17:24:35 +0200
committerAlex Deucher2019-06-22 16:34:14 +0200
commitc00d56fede05a36b1718c3d23496c887f232448f (patch)
treecaf6efa52eb5c237526c83070e616b36ee09d03a /drivers/gpu/drm/amd/display/modules/inc
parentdrm/amd/display: Add Underflow Asserts to dc (diff)
downloadkernel-qcow2-linux-c00d56fede05a36b1718c3d23496c887f232448f.tar.gz
kernel-qcow2-linux-c00d56fede05a36b1718c3d23496c887f232448f.tar.xz
kernel-qcow2-linux-c00d56fede05a36b1718c3d23496c887f232448f.zip
drm/amd/display: add missing mod_vmid destructor
mod_vmid is missing a destructor. Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> Reviewed-by: Charlene Liu <Charlene.Liu@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/inc')
-rw-r--r--drivers/gpu/drm/amd/display/modules/inc/mod_vmid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/inc/mod_vmid.h b/drivers/gpu/drm/amd/display/modules/inc/mod_vmid.h
index c7672f3b837f..a3787fdf0c08 100644
--- a/drivers/gpu/drm/amd/display/modules/inc/mod_vmid.h
+++ b/drivers/gpu/drm/amd/display/modules/inc/mod_vmid.h
@@ -41,4 +41,6 @@ struct mod_vmid *mod_vmid_create(
unsigned int num_vmid,
struct dc_virtual_addr_space_config *va_config);
+void mod_vmid_destroy(struct mod_vmid *mod_vmid);
+
#endif /* MOD_VMID_H_ */