* build failures on drm-next
@ 2017-10-02 13:49 Tom St Denis
[not found] ` <c4ee0f01-1c09-a978-01b9-4bc92c4459e8-5C7GfCeVMHo@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Tom St Denis @ 2017-10-02 13:49 UTC (permalink / raw)
To: amd-gfx mailing list; +Cc: Zhu, Rex
[-- Attachment #1: Type: text/plain, Size: 831 bytes --]
The lastest good commit is
commit f5a16c561fb8a15e94a4384e880b9d84a2657098
Author: Colin Ian King <colin.king-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
Date: Thu Sep 28 14:46:17 2017 +0100
drm/radeon: make functions alloc_pasid and free_pasid static
The functions alloc_pasid and free_pasid are local to the
source and do not need to be in global scope, so make them static.
Cleans up sparse warnings:
warning: symbol 'alloc_pasid' was not declared. Should it be static?
warning: symbol 'free_pasid' was not declared. Should it be static?
Signed-off-by: Colin Ian King <colin.king-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
Signed-off-by: Alex Deucher <alexander.deucher-5C7GfCeVMHo@public.gmane.org>
I see errors (e.g., attached) when building from the tip of drm-next.
Cheers,
Tom
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: drmnext_build.log --]
[-- Type: text/x-log; name="drmnext_build.log", Size: 13447 bytes --]
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CC [M] drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_powertune.o
CC [M] drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.o
CC [M] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.o
CC [M] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_services.o
CC [M] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_helpers.o
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:23:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c: In function ‘rv_populate_clock_table’:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:424:44: error: passing argument 1 of ‘smum_send_msg_to_smc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(hwmgr->smumgr,
^
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/pp_debug.h:39:9: note: in definition of macro ‘PP_ASSERT_WITH_CODE’
if (!(cond)) { \
^~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:31:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/smumgr.h:99:12: note: expected ‘struct pp_hwmgr *’ but argument is of type ‘struct pp_smumgr *’
extern int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg);
^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:23:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:428:44: error: passing argument 1 of ‘rv_read_arg_from_smc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
PP_ASSERT_WITH_CODE(!rv_read_arg_from_smc(hwmgr->smumgr,
^
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/pp_debug.h:39:9: note: in definition of macro ‘PP_ASSERT_WITH_CODE’
if (!(cond)) { \
^~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:37:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/rv_smumgr.h:54:5: note: expected ‘struct pp_hwmgr *’ but argument is of type ‘struct pp_smumgr *’
int rv_read_arg_from_smc(struct pp_hwmgr *hwmgr, uint32_t *arg);
^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:23:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:434:44: error: passing argument 1 of ‘smum_send_msg_to_smc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(hwmgr->smumgr,
^
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/pp_debug.h:39:9: note: in definition of macro ‘PP_ASSERT_WITH_CODE’
if (!(cond)) { \
^~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:31:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/smumgr.h:99:12: note: expected ‘struct pp_hwmgr *’ but argument is of type ‘struct pp_smumgr *’
extern int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg);
^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:23:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:438:44: error: passing argument 1 of ‘rv_read_arg_from_smc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
PP_ASSERT_WITH_CODE(!rv_read_arg_from_smc(hwmgr->smumgr,
^
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/pp_debug.h:39:9: note: in definition of macro ‘PP_ASSERT_WITH_CODE’
if (!(cond)) { \
^~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:37:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/rv_smumgr.h:54:5: note: expected ‘struct pp_hwmgr *’ but argument is of type ‘struct pp_smumgr *’
int rv_read_arg_from_smc(struct pp_hwmgr *hwmgr, uint32_t *arg);
^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:23:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c: In function ‘rv_print_clock_levels’:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:629:45: error: passing argument 1 of ‘smum_send_msg_to_smc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(hwmgr->smumgr,
^
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/pp_debug.h:39:9: note: in definition of macro ‘PP_ASSERT_WITH_CODE’
if (!(cond)) { \
^~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:31:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/smumgr.h:99:12: note: expected ‘struct pp_hwmgr *’ but argument is of type ‘struct pp_smumgr *’
extern int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg);
^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:23:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:633:45: error: passing argument 1 of ‘rv_read_arg_from_smc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
PP_ASSERT_WITH_CODE(!rv_read_arg_from_smc(hwmgr->smumgr,
^
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/pp_debug.h:39:9: note: in definition of macro ‘PP_ASSERT_WITH_CODE’
if (!(cond)) { \
^~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:37:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/rv_smumgr.h:54:5: note: expected ‘struct pp_hwmgr *’ but argument is of type ‘struct pp_smumgr *’
int rv_read_arg_from_smc(struct pp_hwmgr *hwmgr, uint32_t *arg);
^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:23:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:648:45: error: passing argument 1 of ‘smum_send_msg_to_smc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
PP_ASSERT_WITH_CODE(!smum_send_msg_to_smc(hwmgr->smumgr,
^
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/pp_debug.h:39:9: note: in definition of macro ‘PP_ASSERT_WITH_CODE’
if (!(cond)) { \
^~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:31:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/smumgr.h:99:12: note: expected ‘struct pp_hwmgr *’ but argument is of type ‘struct pp_smumgr *’
extern int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg);
^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:23:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:652:45: error: passing argument 1 of ‘rv_read_arg_from_smc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
PP_ASSERT_WITH_CODE(!rv_read_arg_from_smc(hwmgr->smumgr,
^
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/pp_debug.h:39:9: note: in definition of macro ‘PP_ASSERT_WITH_CODE’
if (!(cond)) { \
^~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:37:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/rv_smumgr.h:54:5: note: expected ‘struct pp_hwmgr *’ but argument is of type ‘struct pp_smumgr *’
int rv_read_arg_from_smc(struct pp_hwmgr *hwmgr, uint32_t *arg);
^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c: In function ‘rv_read_sensor’:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:904:30: error: passing argument 1 of ‘smum_send_msg_to_smc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = smum_send_msg_to_smc(hwmgr->smumgr, PPSMC_MSG_GetGfxclkFrequency);
^~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:31:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/smumgr.h:99:12: note: expected ‘struct pp_hwmgr *’ but argument is of type ‘struct pp_smumgr *’
extern int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg);
^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:906:25: error: passing argument 1 of ‘rv_read_arg_from_smc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
rv_read_arg_from_smc(hwmgr->smumgr, &sclk);
^~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:37:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/rv_smumgr.h:54:5: note: expected ‘struct pp_hwmgr *’ but argument is of type ‘struct pp_smumgr *’
int rv_read_arg_from_smc(struct pp_hwmgr *hwmgr, uint32_t *arg);
^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:913:30: error: passing argument 1 of ‘smum_send_msg_to_smc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = smum_send_msg_to_smc(hwmgr->smumgr, PPSMC_MSG_GetFclkFrequency);
^~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:31:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/inc/smumgr.h:99:12: note: expected ‘struct pp_hwmgr *’ but argument is of type ‘struct pp_smumgr *’
extern int smum_send_msg_to_smc(struct pp_hwmgr *hwmgr, uint16_t msg);
^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:915:25: error: passing argument 1 of ‘rv_read_arg_from_smc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
rv_read_arg_from_smc(hwmgr->smumgr, &mclk);
^~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c:37:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/rv_smumgr.h:54:5: note: expected ‘struct pp_hwmgr *’ but argument is of type ‘struct pp_smumgr *’
int rv_read_arg_from_smc(struct pp_hwmgr *hwmgr, uint32_t *arg);
^~~~~~~~~~~~~~~~~~~~
CC [M] drivers/gpu/drm/amd/amdgpu/../display/dc/basics/conversion.o
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_powertune.c: In function ‘vega10_enable_didt_config’:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_powertune.c:1246:40: error: passing argument 1 of ‘vega10_enable_smc_features’ from incompatible pointer type [-Werror=incompatible-pointer-types]
result = vega10_enable_smc_features(hwmgr->smumgr, true, data->smu_features[GNLD_DIDT].smu_feature_bitmap);
^~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_powertune.c:27:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/vega10_smumgr.h:60:5: note: expected ‘struct pp_hwmgr *’ but argument is of type ‘struct pp_smumgr *’
int vega10_enable_smc_features(struct pp_hwmgr *hwmgr,
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_powertune.c: In function ‘vega10_disable_didt_config’:
drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_powertune.c:1293:40: error: passing argument 1 of ‘vega10_enable_smc_features’ from incompatible pointer type [-Werror=incompatible-pointer-types]
result = vega10_enable_smc_features(hwmgr->smumgr, false, data->smu_features[GNLD_DIDT].smu_feature_bitmap);
^~~~~
In file included from drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_powertune.c:27:0:
drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/vega10_smumgr.h:60:5: note: expected ‘struct pp_hwmgr *’ but argument is of type ‘struct pp_smumgr *’
int vega10_enable_smc_features(struct pp_hwmgr *hwmgr,
^~~~~~~~~~~~~~~~~~~~~~~~~~
CC [M] drivers/gpu/drm/amd/amdgpu/../display/dc/basics/fixpt31_32.o
CC [M] drivers/gpu/drm/amd/amdgpu/../display/dc/basics/fixpt32_32.o
cc1: some warnings being treated as errors
distcc[19873] ERROR: compile drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.c on localhost failed
scripts/Makefile.build:302: recipe for target 'drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.o' failed
make[4]: *** [drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/rv_hwmgr.o] Error 1
make[4]: *** Waiting for unfinished jobs....
cc1: some warnings being treated as errors
distcc[19715] ERROR: compile drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_powertune.c on localhost failed
scripts/Makefile.build:302: recipe for target 'drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_powertune.o' failed
make[4]: *** [drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/vega10_powertune.o] Error 1
scripts/Makefile.build:561: recipe for target 'drivers/gpu/drm/amd/amdgpu' failed
make[3]: *** [drivers/gpu/drm/amd/amdgpu] Error 2
scripts/Makefile.build:561: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2
scripts/Makefile.build:561: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1019: recipe for target 'drivers' failed
make: *** [drivers] Error 2
[-- Attachment #3: Type: text/plain, Size: 154 bytes --]
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: build failures on drm-next
[not found] ` <c4ee0f01-1c09-a978-01b9-4bc92c4459e8-5C7GfCeVMHo@public.gmane.org>
@ 2017-10-02 14:47 ` Harry Wentland
[not found] ` <a296601b-3704-ecda-9d11-1970280817ab-5C7GfCeVMHo@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Harry Wentland @ 2017-10-02 14:47 UTC (permalink / raw)
To: Tom St Denis, amd-gfx mailing list; +Cc: Zhu, Rex
Does anyone have a strong opinion for or against reverting the offending
commits?
Harry
On 2017-10-02 09:49 AM, Tom St Denis wrote:
> The lastest good commit is
>
> commit f5a16c561fb8a15e94a4384e880b9d84a2657098
> Author: Colin Ian King <colin.king@canonical.com>
> Date: Thu Sep 28 14:46:17 2017 +0100
>
> drm/radeon: make functions alloc_pasid and free_pasid static
>
> The functions alloc_pasid and free_pasid are local to the
> source and do not need to be in global scope, so make them static.
>
> Cleans up sparse warnings:
> warning: symbol 'alloc_pasid' was not declared. Should it be static?
> warning: symbol 'free_pasid' was not declared. Should it be static?
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
>
>
> I see errors (e.g., attached) when building from the tip of drm-next.
>
> Cheers,
> Tom
>
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: build failures on drm-next
[not found] ` <a296601b-3704-ecda-9d11-1970280817ab-5C7GfCeVMHo@public.gmane.org>
@ 2017-10-02 14:49 ` Harry Wentland
2017-10-02 14:51 ` Tom St Denis
1 sibling, 0 replies; 5+ messages in thread
From: Harry Wentland @ 2017-10-02 14:49 UTC (permalink / raw)
To: Tom St Denis, amd-gfx mailing list; +Cc: Zhu, Rex
On 2017-10-02 10:47 AM, Harry Wentland wrote:
> Does anyone have a strong opinion for or against reverting the offending
> commits?
>
Nevermind. Saw the patches. It builds now.
Please ignore the spam.
Harry
> Harry
>
> On 2017-10-02 09:49 AM, Tom St Denis wrote:
>> The lastest good commit is
>>
>> commit f5a16c561fb8a15e94a4384e880b9d84a2657098
>> Author: Colin Ian King <colin.king@canonical.com>
>> Date: Thu Sep 28 14:46:17 2017 +0100
>>
>> drm/radeon: make functions alloc_pasid and free_pasid static
>>
>> The functions alloc_pasid and free_pasid are local to the
>> source and do not need to be in global scope, so make them static.
>>
>> Cleans up sparse warnings:
>> warning: symbol 'alloc_pasid' was not declared. Should it be static?
>> warning: symbol 'free_pasid' was not declared. Should it be static?
>>
>> Signed-off-by: Colin Ian King <colin.king@canonical.com>
>> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
>>
>>
>> I see errors (e.g., attached) when building from the tip of drm-next.
>>
>> Cheers,
>> Tom
>>
>>
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: build failures on drm-next
[not found] ` <a296601b-3704-ecda-9d11-1970280817ab-5C7GfCeVMHo@public.gmane.org>
2017-10-02 14:49 ` Harry Wentland
@ 2017-10-02 14:51 ` Tom St Denis
[not found] ` <b42fac26-7a47-945f-5030-e7d80d086084-5C7GfCeVMHo@public.gmane.org>
1 sibling, 1 reply; 5+ messages in thread
From: Tom St Denis @ 2017-10-02 14:51 UTC (permalink / raw)
To: Harry Wentland, amd-gfx mailing list; +Cc: Zhu, Rex
I already pushed Rb'ed commits that patch them up :-)
The commits add functionality but they were written before Rex had
ported smumgr stuff up into hwmgr and when they were merged nobody
compile tested them.
So reverting is probably not the best idea.
On 02/10/17 10:47 AM, Harry Wentland wrote:
> Does anyone have a strong opinion for or against reverting the offending
> commits?
>
> Harry
>
> On 2017-10-02 09:49 AM, Tom St Denis wrote:
>> The lastest good commit is
>>
>> commit f5a16c561fb8a15e94a4384e880b9d84a2657098
>> Author: Colin Ian King <colin.king@canonical.com>
>> Date: Thu Sep 28 14:46:17 2017 +0100
>>
>> drm/radeon: make functions alloc_pasid and free_pasid static
>>
>> The functions alloc_pasid and free_pasid are local to the
>> source and do not need to be in global scope, so make them static.
>>
>> Cleans up sparse warnings:
>> warning: symbol 'alloc_pasid' was not declared. Should it be static?
>> warning: symbol 'free_pasid' was not declared. Should it be static?
>>
>> Signed-off-by: Colin Ian King <colin.king@canonical.com>
>> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
>>
>>
>> I see errors (e.g., attached) when building from the tip of drm-next.
>>
>> Cheers,
>> Tom
>>
>>
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: build failures on drm-next
[not found] ` <b42fac26-7a47-945f-5030-e7d80d086084-5C7GfCeVMHo@public.gmane.org>
@ 2017-10-02 15:05 ` Russell, Kent
0 siblings, 0 replies; 5+ messages in thread
From: Russell, Kent @ 2017-10-02 15:05 UTC (permalink / raw)
To: StDenis, Tom, Wentland, Harry, amd-gfx mailing list; +Cc: Zhu, Rex
Agreed. I did the same change locally as Tom did and it seems to be fine. It was just an issue of not rebasing and re-testing before pushing. It builds again now as well, so it should hopefully be alright Harry. Reverting did not go well locally.
Kent
-----Original Message-----
From: amd-gfx [mailto:amd-gfx-bounces@lists.freedesktop.org] On Behalf Of Tom St Denis
Sent: Monday, October 02, 2017 10:52 AM
To: Wentland, Harry; amd-gfx mailing list
Cc: Zhu, Rex
Subject: Re: build failures on drm-next
I already pushed Rb'ed commits that patch them up :-)
The commits add functionality but they were written before Rex had ported smumgr stuff up into hwmgr and when they were merged nobody compile tested them.
So reverting is probably not the best idea.
On 02/10/17 10:47 AM, Harry Wentland wrote:
> Does anyone have a strong opinion for or against reverting the
> offending commits?
>
> Harry
>
> On 2017-10-02 09:49 AM, Tom St Denis wrote:
>> The lastest good commit is
>>
>> commit f5a16c561fb8a15e94a4384e880b9d84a2657098
>> Author: Colin Ian King <colin.king@canonical.com>
>> Date: Thu Sep 28 14:46:17 2017 +0100
>>
>> drm/radeon: make functions alloc_pasid and free_pasid static
>>
>> The functions alloc_pasid and free_pasid are local to the
>> source and do not need to be in global scope, so make them static.
>>
>> Cleans up sparse warnings:
>> warning: symbol 'alloc_pasid' was not declared. Should it be static?
>> warning: symbol 'free_pasid' was not declared. Should it be static?
>>
>> Signed-off-by: Colin Ian King <colin.king@canonical.com>
>> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
>>
>>
>> I see errors (e.g., attached) when building from the tip of drm-next.
>>
>> Cheers,
>> Tom
>>
>>
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-10-02 15:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-02 13:49 build failures on drm-next Tom St Denis
[not found] ` <c4ee0f01-1c09-a978-01b9-4bc92c4459e8-5C7GfCeVMHo@public.gmane.org>
2017-10-02 14:47 ` Harry Wentland
[not found] ` <a296601b-3704-ecda-9d11-1970280817ab-5C7GfCeVMHo@public.gmane.org>
2017-10-02 14:49 ` Harry Wentland
2017-10-02 14:51 ` Tom St Denis
[not found] ` <b42fac26-7a47-945f-5030-e7d80d086084-5C7GfCeVMHo@public.gmane.org>
2017-10-02 15:05 ` Russell, Kent
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.