@@ -12,6 +12,7 @@
#include <drm/drm_ioctl.h>
#include <drm/drm_syncobj.h>
#include <drm/drm_utils.h>
+#include <drm/drm_gem.h>
#include "panfrost_device.h"
#include "panfrost_devfreq.h"
@@ -567,6 +568,8 @@ static struct drm_driver panfrost_drm_driver = {
.prime_fd_to_handle = drm_gem_prime_fd_to_handle,
.gem_prime_import_sg_table = panfrost_gem_prime_import_sg_table,
.gem_prime_mmap = drm_gem_prime_mmap,
+ .set_label = drm_gem_set_label,
+ .get_label = drm_gem_get_label,
};
static int panfrost_probe(struct platform_device *pdev)
Set the default labeling helpers in order to be able to label the buffers. Signed-off-by: Rohan Garg <rohan.garg@collabora.com> --- drivers/gpu/drm/panfrost/panfrost_drv.c | 3 +++ 1 file changed, 3 insertions(+)