Re: [PATCH 01/28] [NOT FOR REVIEW] drm: color pipeline base work
Hi Uma, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm/drm-next next-20240216] [cannot apply to drm-intel/for-linux-next drm-intel/for-linux-next-fixes linus/master v6.8-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/Uma-Shankar/drm-color-pipeline-base-work/20240213-144544 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20240213064835.139464-2-uma.shankar%40intel.com patch subject: [PATCH 01/28] [NOT FOR REVIEW] drm: color pipeline base work config: x86_64-randconfig-161-20240213 (https://download.01.org/0day-ci/archive/20240218/202402180051.37wkwgmx-...@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 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 | Closes: https://lore.kernel.org/oe-kbuild-all/202402180051.37wkwgmx-...@intel.com/ smatch warnings: drivers/gpu/drm/drm_atomic.c:825 drm_atomic_plane_print_state() warn: inconsistent indenting vim +825 drivers/gpu/drm/drm_atomic.c 799 800 static void drm_atomic_plane_print_state(struct drm_printer *p, 801 const struct drm_plane_state *state) 802 { 803 struct drm_plane *plane = state->plane; 804 struct drm_rect src = drm_plane_state_src(state); 805 struct drm_rect dest = drm_plane_state_dest(state); 806 807 drm_printf(p, "plane[%u]: %s\n", plane->base.id, plane->name); 808 drm_printf(p, "\tcrtc=%s\n", state->crtc ? state->crtc->name : "(null)"); 809 drm_printf(p, "\tfb=%u\n", state->fb ? state->fb->base.id : 0); 810 if (state->fb) 811 drm_framebuffer_print_info(p, 2, state->fb); 812 drm_printf(p, "\tcrtc-pos=" DRM_RECT_FMT "\n", DRM_RECT_ARG(&dest)); 813 drm_printf(p, "\tsrc-pos=" DRM_RECT_FP_FMT "\n", DRM_RECT_FP_ARG(&src)); 814 drm_printf(p, "\trotation=%x\n", state->rotation); 815 drm_printf(p, "\tnormalized-zpos=%x\n", state->normalized_zpos); 816 drm_printf(p, "\tcolor-encoding=%s\n", 817 drm_get_color_encoding_name(state->color_encoding)); 818 drm_printf(p, "\tcolor-range=%s\n", 819 drm_get_color_range_name(state->color_range)); 820 drm_printf(p, "\tcolor_mgmt_changed=%d\n", state->color_mgmt_changed); 821 #if 0 822 drm_printf(p, "\tcolor-pipeline=%s\n", 823drm_get_color_pipeline_name(state->color_pipeline)); 824 #else > 825 drm_printf(p, "\tcolor-pipeline=%d\n", 826state->color_pipeline ? state->color_pipeline->base.id : 0); 827 #endif 828 829 830 if (plane->funcs->atomic_print_state) 831 plane->funcs->atomic_print_state(p, state); 832 } 833 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Re: [PATCH 3/4] drm/ttm: Consider hitch moves within bulk sublist moves
Hi Thomas, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm-tip/drm-tip next-20240216] [cannot apply to drm-intel/for-linux-next drm-intel/for-linux-next-fixes linus/master v6.8-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/Thomas-Hellstr-m/drm-ttm-Allow-TTM-LRU-list-nodes-of-different-types/20240216-211801 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20240216131446.101961-4-thomas.hellstrom%40linux.intel.com patch subject: [PATCH 3/4] drm/ttm: Consider hitch moves within bulk sublist moves config: x86_64-randconfig-121-20240217 (https://download.01.org/0day-ci/archive/20240218/202402180043.xvwojqs2-...@intel.com/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/20240218/202402180043.xvwojqs2-...@intel.com/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 | Closes: https://lore.kernel.org/oe-kbuild-all/202402180043.xvwojqs2-...@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/ttm/ttm_resource.c:545:34: sparse: sparse: incorrect type in >> assignment (different base types) @@ expected unsigned long long >> [usertype] bulk_age @@ got unsigned long long * @@ drivers/gpu/drm/ttm/ttm_resource.c:545:34: sparse: expected unsigned long long [usertype] bulk_age drivers/gpu/drm/ttm/ttm_resource.c:545:34: sparse: got unsigned long long * >> drivers/gpu/drm/ttm/ttm_resource.c:551:30: sparse: sparse: incompatible >> types for operation (==): drivers/gpu/drm/ttm/ttm_resource.c:551:30: sparse:unsigned long long [usertype] bulk_age drivers/gpu/drm/ttm/ttm_resource.c:551:30: sparse:unsigned long long * drivers/gpu/drm/ttm/ttm_resource.c: note: in included file (through include/linux/fwnode.h, include/linux/logic_pio.h, include/asm-generic/io.h, ...): include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true vim +545 drivers/gpu/drm/ttm/ttm_resource.c 517 518 /* Adjust to a bulk sublist being bumped while traversing it.*/ 519 static bool 520 ttm_resource_cursor_check_bulk(struct ttm_resource_cursor *cursor, 521 struct ttm_lru_item *next_lru) 522 { 523 struct ttm_resource *next = ttm_lru_item_to_res(next_lru); 524 struct ttm_lru_bulk_move *bulk = NULL; 525 struct ttm_buffer_object *bo = next->bo; 526 527 lockdep_assert_held(&cursor->man->bdev->lru_lock); 528 if (bo && bo->resource == next) 529 bulk = bo->bulk_move; 530 531 if (!bulk) { 532 ttm_resource_cursor_clear_bulk(cursor); 533 return false; 534 } 535 536 /* 537 * We encountered a bulk sublist. Record its age and 538 * set a hitch after the sublist. 539 */ 540 if (cursor->bulk != bulk) { 541 struct ttm_lru_bulk_move_pos *pos = 542 ttm_lru_bulk_move_pos(bulk, next); 543 544 cursor->bulk = bulk; > 545 cursor->bulk_age = &bulk->age; 546 list_move(&cursor->bulk_hitch.link, &pos->last->lru.link); 547 return false; 548 } 549 550 /* Continue iterating down the bulk sublist */ > 551 if (cursor->bulk_age == &bulk->age) 552 return false; 55
Re: [PATCH v2 2/2] drm/tests/drm_buddy: add alloc_contiguous test
On Wed, Feb 14, 2024 at 06:48:53PM +0530, Arunpravin Paneer Selvam wrote: > From: Matthew Auld > > Sanity check DRM_BUDDY_CONTIGUOUS_ALLOCATION. > > v2: Fix checkpatch warnings. > > Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3097 > Signed-off-by: Matthew Auld > Cc: Arunpravin Paneer Selvam > Cc: Limonciello > Cc: Christian König > Reviewed-by: Arunpravin Paneer Selvam > Signed-off-by: Arunpravin Paneer Selvam Building csky:allmodconfig ... failed Building openrisc:allmodconfig ... failed Building parisc:allmodconfig ... failed Building xtensa:allmodconfig ... failed [ and presumably all other 32-bit systems which enable this test ] -- Error log: ERROR: modpost: "__umoddi3" [drivers/gpu/drm/tests/drm_buddy_test.ko] undefined! ERROR: modpost: "__moddi3" [drivers/gpu/drm/tests/drm_buddy_test.ko] undefined! Guenter
Re: [PATCH v6 1/5] drm: Stop using `select ACPI_VIDEO` in all drivers
Hi Mario, kernel test robot noticed the following build warnings: [auto build test WARNING on drm-misc/drm-misc-next] [also build test WARNING on drm-intel/for-linux-next-fixes drm-tip/drm-tip linus/master v6.8-rc4 next-20240216] [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/Mario-Limonciello/drm-Stop-using-select-ACPI_VIDEO-in-all-drivers/20240215-055936 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20240214215756.6530-2-mario.limonciello%40amd.com patch subject: [PATCH v6 1/5] drm: Stop using `select ACPI_VIDEO` in all drivers config: alpha-kismet-CONFIG_FB_BACKLIGHT-CONFIG_HT16K33-0-0 (https://download.01.org/0day-ci/archive/20240217/202402171727.maolcpxi-...@intel.com/config) reproduce: (https://download.01.org/0day-ci/archive/20240217/202402171727.maolcpxi-...@intel.com/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 | Closes: https://lore.kernel.org/oe-kbuild-all/202402171727.maolcpxi-...@intel.com/ kismet warnings: (new ones prefixed by >>) >> kismet: WARNING: unmet direct dependencies detected for FB_BACKLIGHT when >> selected by HT16K33 .config:210:warning: symbol value 'n' invalid for INPUT_MOUSEDEV_SCREEN_Y .config:243:warning: symbol value 'n' invalid for SATA_MOBILE_LPM_POLICY .config:338:warning: symbol value 'n' invalid for PSTORE_BLK_MAX_REASON .config:435:warning: symbol value 'n' invalid for KFENCE_SAMPLE_INTERVAL .config:437:warning: symbol value 'n' invalid for AIC79XX_DEBUG_MASK .config:521:warning: symbol value 'n' invalid for USB_GADGET_STORAGE_NUM_BUFFERS .config:618:warning: symbol value 'n' invalid for DRM_XE_JOB_TIMEOUT_MIN .config:632:warning: symbol value 'n' invalid for CRYPTO_DEV_QCE_SW_MAX_LEN .config:739:warning: symbol value 'n' invalid for PANEL_LCD_CHARSET .config:759:warning: symbol value 'n' invalid for SERIAL_ALTERA_UART_BAUDRATE .config:771:warning: symbol value 'n' invalid for SCSI_MESH_RESET_DELAY_MS .config:796:warning: symbol value 'n' invalid for SND_AC97_POWER_SAVE_DEFAULT .config:834:warning: symbol value 'n' invalid for MAGIC_SYSRQ_DEFAULT_ENABLE .config:851:warning: symbol value 'n' invalid for DRM_I915_MAX_REQUEST_BUSYWAIT .config:890:warning: symbol value 'n' invalid for SND_AT73C213_TARGET_BITRATE .config:892:warning: symbol value 'n' invalid for AIC79XX_CMDS_PER_DEVICE .config:907:warning: symbol value 'n' invalid for DRM_XE_PREEMPT_TIMEOUT_MIN .config:913:warning: symbol value 'n' invalid for NET_EMATCH_STACK .config:915:warning: symbol value 'n' invalid for VMCP_CMA_SIZE .config:973:warning: symbol value 'n' invalid for PANEL_LCD_PIN_SDA .config:1006:warning: symbol value 'n' invalid for PANEL_LCD_PIN_E .config:1142:warning: symbol value 'n' invalid for RCU_CPU_STALL_TIMEOUT .config:1170:warning: symbol value 'n' invalid for MTDRAM_ERASE_SIZE .config:1431:warning: symbol value 'n' invalid for LEGACY_PTY_COUNT .config:1581:warning: symbol value 'n' invalid for WATCHDOG_OPEN_TIMEOUT .config:1588:warning: symbol value 'n' invalid for AIC7XXX_RESET_DELAY_MS .config:1752:warning: symbol value 'n' invalid for IBM_EMAC_POLL_WEIGHT .config:1867:warning: symbol value 'n' invalid for DRM_I915_STOP_TIMEOUT .config:2098:warning: symbol value 'n' invalid for AIC79XX_RESET_DELAY_MS .config:2129:warning: symbol value 'n' invalid for SND_HDA_PREALLOC_SIZE .config:2176:warning: symbol value 'n' invalid for RCU_FANOUT_LEAF .config:2186:warning: symbol value 'n' invalid for KCOV_IRQ_AREA_SIZE .config:2307:warning: symbol value 'n' invalid for DRM_XE_TIMESLICE_MAX .config:2321:warning: symbol value 'n' invalid for PANEL_LCD_BWIDTH .config:2386:warning: symbol value 'n' invalid for XEN_MEMORY_HOTPLUG_LIMIT .config:2439:warning: symbol value 'n' invalid for VERBOSE_MCHECK_ON .config:2559:warning: symbol value 'n' invalid for PANEL_PARPORT .config:2645:warning: symbol value 'n' invalid for NOUVEAU_DEBUG_DEFAULT .config:2744:warning: symbol value 'n' invalid for MTD_REDBOOT_DIRECTORY_BLOCK .config:2803:warning: symbol value 'n' invalid for SND_SOC_SOF_DEBUG_IPC_FLOOD_TEST_NUM .config:2831:warning: symbol value 'n&