Re: [PATCHv6 2/6] drm/core: Add drm_afbc_framebuffer and a corresponding helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andrzej,

I love your patch! Yet something to improve:

[auto build test ERROR on rockchip/for-next]
[also build test ERROR on drm-exynos/exynos-drm-next drm-intel/for-linux-next tegra-drm/drm/tegra/for-next drm-tip/drm-tip linus/master v5.6-rc4 next-20200303]
[cannot apply to drm/drm-next]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Andrzej-Pietrasiewicz/Add-AFBC-support-for-Rockchip/20200304-030705
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
config: arm64-randconfig-a001-20200303 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/msm/msm_atomic.c:8:0:
>> include/drm/drm_gem_framebuffer_helper.h:43:1: error: unknown type name 'bool'; did you mean '_Bool'?
    bool drm_afbc_get_superblock_wh(u64 modifier, u32 *w, u32 *h);
    ^~~~
    _Bool
>> include/drm/drm_gem_framebuffer_helper.h:43:33: error: unknown type name 'u64'
    bool drm_afbc_get_superblock_wh(u64 modifier, u32 *w, u32 *h);
                                    ^~~
>> include/drm/drm_gem_framebuffer_helper.h:43:47: error: unknown type name 'u32'
    bool drm_afbc_get_superblock_wh(u64 modifier, u32 *w, u32 *h);
                                                  ^~~
   include/drm/drm_gem_framebuffer_helper.h:43:55: error: unknown type name 'u32'
    bool drm_afbc_get_superblock_wh(u64 modifier, u32 *w, u32 *h);
                                                          ^~~

vim +43 include/drm/drm_gem_framebuffer_helper.h

    17	
    18	struct drm_gem_object *drm_gem_fb_get_obj(struct drm_framebuffer *fb,
    19						  unsigned int plane);
    20	void drm_gem_fb_destroy(struct drm_framebuffer *fb);
    21	int drm_gem_fb_create_handle(struct drm_framebuffer *fb, struct drm_file *file,
    22				     unsigned int *handle);
    23	
    24	struct drm_framebuffer *
    25	drm_gem_fb_init_with_funcs(struct drm_device *dev, struct drm_framebuffer *fb,
    26				   struct drm_file *file,
    27				   const struct drm_mode_fb_cmd2 *mode_cmd,
    28				   const struct drm_framebuffer_funcs *funcs);
    29	struct drm_framebuffer *
    30	drm_gem_fb_create_with_funcs(struct drm_device *dev, struct drm_file *file,
    31				     const struct drm_mode_fb_cmd2 *mode_cmd,
    32				     const struct drm_framebuffer_funcs *funcs);
    33	struct drm_framebuffer *
    34	drm_gem_fb_create(struct drm_device *dev, struct drm_file *file,
    35			  const struct drm_mode_fb_cmd2 *mode_cmd);
    36	struct drm_framebuffer *
    37	drm_gem_fb_create_with_dirty(struct drm_device *dev, struct drm_file *file,
    38				     const struct drm_mode_fb_cmd2 *mode_cmd);
    39	
    40	#define drm_is_afbc(modifier) \
    41		(((modifier) & AFBC_VENDOR_AND_TYPE_MASK) == DRM_FORMAT_MOD_ARM_AFBC(0))
    42	
  > 43	bool drm_afbc_get_superblock_wh(u64 modifier, u32 *w, u32 *h);
    44	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux