drm/radeon/kms: Fix crash getting TV info with no BIOS.
Subsystems (2)
PATCH RESEND 1/1 drm/radeon/kms: Fix crash getting TV info with no BIOS.
From: Michel Dänzer <[email protected]>
Signed-off-by Michel Dänzer <[email protected]>
---
Looks like this simple fix got lost last time...
drivers/gpu/drm/radeon/radeon_combios.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/gpu/drm/radeon/radeon_combios.c +3 -0
@@ -673,6 +673,9 @@ radeon_combios_get_tv_info(struct radeon_device *rdev)uint16_t tv_info;enum radeon_tv_std tv_std =TV_STD_NTSC ; +if (rdev->bios ==NULL ) +return tv_std; + tv_info =combios_get_table_offset (dev,COMBIOS_TV_INFO_TABLE );if (tv_info) {if (RBIOS8 (tv_info +6 ) =='T' ) {
Signature · 14 lines
1.6.5.7 ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel