File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
drivers/gpu/drm/amd/pm/swsmu Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -781,7 +781,7 @@ int smu_v11_0_set_allowed_mask(struct smu_context *smu)
781
781
goto failed ;
782
782
}
783
783
784
- bitmap_copy (( unsigned long * ) feature_mask , feature -> allowed , 64 );
784
+ bitmap_to_arr32 ( feature_mask , feature -> allowed , 64 );
785
785
786
786
ret = smu_cmn_send_smc_msg_with_param (smu , SMU_MSG_SetAllowedFeaturesMaskHigh ,
787
787
feature_mask [1 ], NULL );
Original file line number Diff line number Diff line change @@ -730,7 +730,7 @@ int smu_v13_0_set_allowed_mask(struct smu_context *smu)
730
730
feature -> feature_num < 64 )
731
731
return - EINVAL ;
732
732
733
- bitmap_copy (( unsigned long * ) feature_mask , feature -> allowed , 64 );
733
+ bitmap_to_arr32 ( feature_mask , feature -> allowed , 64 );
734
734
735
735
ret = smu_cmn_send_smc_msg_with_param (smu , SMU_MSG_SetAllowedFeaturesMaskHigh ,
736
736
feature_mask [1 ], NULL );
You can’t perform that action at this time.
0 commit comments