drm/radeon/si: check for CE ucode as well when loading ucode
Subsystems (2)
PATCH 1/1 drm/radeon/si: check for CE ucode as well when loading ucode
From: Alex Deucher <[email protected]>
Fixes possible segfault if the CE ucode is missing.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/radeon/si.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/radeon/si.c +1 -1
@@ -1825,7 +1825,7 @@ static int si_cp_load_microcode(struct radeon_device *rdev)const __be32 *fw_data;int i; -if (!rdev->me_fw || !rdev->pfp_fw) +if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw)return -EINVAL ;si_cp_enable (rdev, false);
Signature · 1 line
1.7.7.5
Quoted 5 lines · On Die, 2012-06-12 at 15:33 -0400, [email protected] wrote:
From: Alex Deucher <[email protected]>
Fixes possible segfault if the CE ucode is missing.
Signed-off-by Alex Deucher <[email protected]>
Reviewed-by Michel Dänzer <[email protected]>
Quoted 18 lines
--- drivers/gpu/drm/radeon/si.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/gpu/drm/radeon/si.c +1
-1@@ -1825,7 +1825,7 @@ static int si_cp_load_microcode(struct radeon_device *rdev)const __be32 *fw_data;int i; -if (!rdev->me_fw || !rdev->pfp_fw) +if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw)return -EINVAL ;si_cp_enable (rdev, false);
Signature · 6 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI developer _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel