diff options
| author | Imre Kaloz <kaloz@kernel.org> | 2026-09-27 16:55:04 +0200 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-10-01 17:18:05 -0400 |
| commit | de1eab13efef83fd2b76f4688de5bf672644596f (patch) | |
| tree | 2086c897e05c886be227cda55d051a024a02890c /scripts/basic | |
| parent | 217f64f348c90cba62164e7ff38e0ccf78a5ca09 (diff) | |
| download | linux-stable-de1eab13efef83fd2b76f4688de5bf672644596f.tar.gz linux-stable-de1eab13efef83fd2b76f4688de5bf672644596f.zip | |
drm/radeon: Read the VRAM VBIOS signature with readb()
igp_read_bios_from_vram() checked bios[0]/bios[1] with a plain
__iomem load, which faults on sparc64 before the copy runs at all.
radeon_read_bios() already reads its two signature bytes with
readb() ahead of its own copy; use the same accessor here, keeping
the check before the allocation.
Fixes: b442962a9e82 ("drm/radeon/kms: add support for "Surround View"")
Signed-off-by: Imre Kaloz <kaloz@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 09155b8932e5013dbce0f5cdff7d75264a279ee5)
Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
