drivers/gpu/drm//amd/amdgpu/df_v3_6.c: In function ‘df_v3_6_pmc_start’: drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_TAHITI’ not handled in switch [-Wswitch] switch (adev->asic_type) { ^~~~~~ drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_PITCAIRN’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_VERDE’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_OLAND’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_HAINAN’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_BONAIRE’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_KAVERI’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_KABINI’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_HAWAII’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_MULLINS’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_TOPAZ’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_TONGA’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_FIJI’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_CARRIZO’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_STONEY’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_POLARIS10’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_POLARIS11’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_POLARIS12’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_VEGAM’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_VEGA10’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_VEGA12’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_RAVEN’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:464:2: warning: enumeration value ‘CHIP_LAST’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c: In function ‘df_v3_6_pmc_stop’: drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_TAHITI’ not handled in switch [-Wswitch] switch (adev->asic_type) { ^~~~~~ drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_PITCAIRN’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_VERDE’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_OLAND’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_HAINAN’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_BONAIRE’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_KAVERI’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_KABINI’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_HAWAII’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_MULLINS’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_TOPAZ’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_TONGA’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_FIJI’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_CARRIZO’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_STONEY’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_POLARIS10’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_POLARIS11’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_POLARIS12’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_VEGAM’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_VEGA10’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_VEGA12’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_RAVEN’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:490:2: warning: enumeration value ‘CHIP_LAST’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c: In function ‘df_v3_6_pmc_get_count’: drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_TAHITI’ not handled in switch [-Wswitch] switch (adev->asic_type) { ^~~~~~ drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_PITCAIRN’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_VERDE’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_OLAND’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_HAINAN’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_BONAIRE’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_KAVERI’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_KABINI’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_HAWAII’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_MULLINS’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_TOPAZ’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_TONGA’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_FIJI’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_CARRIZO’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_STONEY’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_POLARIS10’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_POLARIS11’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_POLARIS12’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_VEGAM’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_VEGA10’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_VEGA12’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_RAVEN’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c:519:2: warning: enumeration value ‘CHIP_LAST’ not handled in switch [-Wswitch] drivers/gpu/drm//amd/amdgpu/df_v3_6.c: In function ‘df_v3_6_pmc_start’: drivers/gpu/drm//amd/amdgpu/df_v3_6.c:482:9: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized] return ret; ^~~ -- Earthling Michel Dänzer | https://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx