mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
drm/msm/adreno: Remove MODULE_FIRMWARE()'s
The driver handles the case where gpu fw is not in the initrd. OTOH it doesn't always handle the case where _some_ fw is in the initrd, but others are not. In particular the zap fw tends to be signed with an OEM specific key, so the paths/names differ across devices with the same SoC/GPU, so we cannot sanely list them with MODULE_FIRMWARE(). So MODULE_FIRMWARE() just ends up causing problems without actually solving anything. Remove them! Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/652195/
This commit is contained in:
parent
5a9c1bea01
commit
8f5264d302
|
|
@ -45,8 +45,3 @@ static const struct adreno_info a2xx_gpus[] = {
|
|||
}
|
||||
};
|
||||
DECLARE_ADRENO_GPULIST(a2xx);
|
||||
|
||||
MODULE_FIRMWARE("qcom/leia_pfp_470.fw");
|
||||
MODULE_FIRMWARE("qcom/leia_pm4_470.fw");
|
||||
MODULE_FIRMWARE("qcom/yamato_pfp.fw");
|
||||
MODULE_FIRMWARE("qcom/yamato_pm4.fw");
|
||||
|
|
|
|||
|
|
@ -85,8 +85,3 @@ static const struct adreno_info a3xx_gpus[] = {
|
|||
}
|
||||
};
|
||||
DECLARE_ADRENO_GPULIST(a3xx);
|
||||
|
||||
MODULE_FIRMWARE("qcom/a300_pm4.fw");
|
||||
MODULE_FIRMWARE("qcom/a300_pfp.fw");
|
||||
MODULE_FIRMWARE("qcom/a330_pm4.fw");
|
||||
MODULE_FIRMWARE("qcom/a330_pfp.fw");
|
||||
|
|
|
|||
|
|
@ -45,6 +45,3 @@ static const struct adreno_info a4xx_gpus[] = {
|
|||
}
|
||||
};
|
||||
DECLARE_ADRENO_GPULIST(a4xx);
|
||||
|
||||
MODULE_FIRMWARE("qcom/a420_pm4.fw");
|
||||
MODULE_FIRMWARE("qcom/a420_pfp.fw");
|
||||
|
|
|
|||
|
|
@ -150,12 +150,3 @@ static const struct adreno_info a5xx_gpus[] = {
|
|||
}
|
||||
};
|
||||
DECLARE_ADRENO_GPULIST(a5xx);
|
||||
|
||||
MODULE_FIRMWARE("qcom/a530_pm4.fw");
|
||||
MODULE_FIRMWARE("qcom/a530_pfp.fw");
|
||||
MODULE_FIRMWARE("qcom/a530v3_gpmu.fw2");
|
||||
MODULE_FIRMWARE("qcom/a530_zap.mdt");
|
||||
MODULE_FIRMWARE("qcom/a530_zap.b00");
|
||||
MODULE_FIRMWARE("qcom/a530_zap.b01");
|
||||
MODULE_FIRMWARE("qcom/a530_zap.b02");
|
||||
MODULE_FIRMWARE("qcom/a540_gpmu.fw2");
|
||||
|
|
|
|||
|
|
@ -1093,17 +1093,6 @@ static const struct adreno_info a6xx_gpus[] = {
|
|||
};
|
||||
DECLARE_ADRENO_GPULIST(a6xx);
|
||||
|
||||
MODULE_FIRMWARE("qcom/a615_zap.mbn");
|
||||
MODULE_FIRMWARE("qcom/a619_gmu.bin");
|
||||
MODULE_FIRMWARE("qcom/a630_sqe.fw");
|
||||
MODULE_FIRMWARE("qcom/a630_gmu.bin");
|
||||
MODULE_FIRMWARE("qcom/a630_zap.mbn");
|
||||
MODULE_FIRMWARE("qcom/a640_gmu.bin");
|
||||
MODULE_FIRMWARE("qcom/a650_gmu.bin");
|
||||
MODULE_FIRMWARE("qcom/a650_sqe.fw");
|
||||
MODULE_FIRMWARE("qcom/a660_gmu.bin");
|
||||
MODULE_FIRMWARE("qcom/a660_sqe.fw");
|
||||
|
||||
static const struct adreno_reglist a702_hwcg[] = {
|
||||
{ REG_A6XX_RBBM_CLOCK_CNTL_SP0, 0x22222222 },
|
||||
{ REG_A6XX_RBBM_CLOCK_CNTL2_SP0, 0x02222220 },
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user