diff options
| author | Jiaxun Yang <[email protected]> | 2024-06-03 15:45:53 +0800 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2024-06-03 15:45:53 +0800 |
| commit | b56f67a6c748bb009f313f91651c8020d2338d63 (patch) | |
| tree | ccd42508430f653e9b0cad040c2f923bc578153f /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c | |
| parent | 6c3ca6654a74dd396bc477839ba8d9792eced441 (diff) | |
LoongArch: Fix built-in DTB detection
fdt_check_header(__dtb_start) will always success because kernel
provides a dummy dtb, and by coincidence __dtb_start clashed with
entry of this dummy dtb. The consequence is fdt passed from firmware
will never be taken.
Fix by trying to utilise __dtb_start only when CONFIG_BUILTIN_DTB is
enabled.
Cc: [email protected]
Fixes: 7b937cc243e5 ("of: Create of_root if no dtb provided by firmware")
Signed-off-by: Jiaxun Yang <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions