Re: [PATCH] drm/xe/hdcp: Add check to remove hdcp2 compatibilty

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

 



Hi Suraj,

kernel test robot noticed the following build errors:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20241022]
[cannot apply to drm-xe/drm-xe-next drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.12-rc4]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Suraj-Kandpal/drm-xe-hdcp-Add-check-to-remove-hdcp2-compatibilty/20241022-135748
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
patch link:    https://lore.kernel.org/r/20241022055655.1902-1-suraj.kandpal%40intel.com
patch subject: [PATCH] drm/xe/hdcp: Add check to remove hdcp2 compatibilty
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20241023/202410230526.VIha5RQI-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241023/202410230526.VIha5RQI-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202410230526.VIha5RQI-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/i915/display/intel_display_core.h:20,
                    from drivers/gpu/drm/xe/xe_device_types.h:31,
                    from drivers/gpu/drm/xe/xe_vm_types.h:16,
                    from drivers/gpu/drm/xe/xe_bo.h:13,
                    from drivers/gpu/drm/xe/display/xe_hdcp_gsc.c:13:
   drivers/gpu/drm/xe/display/xe_hdcp_gsc.c: In function 'intel_hdcp_gsc_cs_required':
>> drivers/gpu/drm/i915/display/intel_display_device.h:199:33: error: implicit declaration of function 'IP_VER' [-Werror=implicit-function-declaration]
     199 | #define DISPLAY_VER_FULL(i915)  IP_VER(DISPLAY_RUNTIME_INFO(i915)->ip.ver, \
         |                                 ^~~~~~
   drivers/gpu/drm/xe/display/xe_hdcp_gsc.c:36:17: note: in expansion of macro 'DISPLAY_VER_FULL'
      36 |                 DISPLAY_VER_FULL(display) != IP_VER(14, 1);
         |                 ^~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for GET_FREE_REGION
   Depends on [n]: SPARSEMEM [=n]
   Selected by [m]:
   - RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m]


vim +/IP_VER +199 drivers/gpu/drm/i915/display/intel_display_device.h

5e72e75d30fcff Jani Nikula 2023-10-03  197  
5e72e75d30fcff Jani Nikula 2023-10-03  198  #define DISPLAY_VER(i915)	(DISPLAY_RUNTIME_INFO(i915)->ip.ver)
5e72e75d30fcff Jani Nikula 2023-10-03 @199  #define DISPLAY_VER_FULL(i915)	IP_VER(DISPLAY_RUNTIME_INFO(i915)->ip.ver, \
5e72e75d30fcff Jani Nikula 2023-10-03  200  				       DISPLAY_RUNTIME_INFO(i915)->ip.rel)
5e72e75d30fcff Jani Nikula 2023-10-03  201  #define IS_DISPLAY_VER(i915, from, until) \
5e72e75d30fcff Jani Nikula 2023-10-03  202  	(DISPLAY_VER(i915) >= (from) && DISPLAY_VER(i915) <= (until))
5e72e75d30fcff Jani Nikula 2023-10-03  203  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux