tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next head: c49a0ced347d825bb25e15636ea1b992cb21a946 commit: e5b07d04da1916b079c5264c2841d2a5e402e45e [243/248] drm/amd: Query and use ACPI backlight caps config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout e5b07d04da1916b079c5264c2841d2a5e402e45e # save the attached .config to linux build tree GCC_VERSION=7.2.0 make.cross ARCH=arm All errors (new ones prefixed by >>): drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function 'amdgpu_dm_update_backlight_caps': >> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:1618:4: error: 'struct amdgpu_display_manager' has no member named 'backlight_min_input_signal' dm->backlight_min_input_signal = AMDGPU_DM_DEFAULT_MIN_BACKLIGHT; ^~ >> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:1619:6: error: 'struct amdgpu_display_manager' has no member named 'backlight_max_input_signal'; did you mean 'backlight_caps'? dm->backlight_max_input_signal = AMDGPU_DM_DEFAULT_MAX_BACKLIGHT; ^~~~~~~~~~~~~~~~~~~~~~~~~~ backlight_caps vim +1618 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c 1594 1595 #if defined(CONFIG_BACKLIGHT_CLASS_DEVICE) ||\ 1596 defined(CONFIG_BACKLIGHT_CLASS_DEVICE_MODULE) 1597 1598 static void amdgpu_dm_update_backlight_caps(struct amdgpu_display_manager *dm) 1599 { 1600 #if defined(CONFIG_ACPI) 1601 struct amdgpu_dm_backlight_caps caps; 1602 1603 if (dm->backlight_caps.caps_valid) 1604 return; 1605 1606 amdgpu_acpi_get_backlight_caps(dm->adev, &caps); 1607 if (caps.caps_valid) { 1608 dm->backlight_caps.min_input_signal = caps.min_input_signal; 1609 dm->backlight_caps.max_input_signal = caps.max_input_signal; 1610 dm->backlight_caps.caps_valid = true; 1611 } else { 1612 dm->backlight_caps.min_input_signal = 1613 AMDGPU_DM_DEFAULT_MIN_BACKLIGHT; 1614 dm->backlight_caps.max_input_signal = 1615 AMDGPU_DM_DEFAULT_MAX_BACKLIGHT; 1616 } 1617 #else > 1618 dm->backlight_min_input_signal = AMDGPU_DM_DEFAULT_MIN_BACKLIGHT; > 1619 dm->backlight_max_input_signal = AMDGPU_DM_DEFAULT_MAX_BACKLIGHT; 1620 #endif 1621 } 1622 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel