drm/radeon: fix regression on atom cards with hardcoded EDID record.
authorDave Airlie <airlied@redhat.com>
Sun, 1 May 2011 10:16:30 +0000 (20:16 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 3 May 2011 23:29:25 +0000 (09:29 +1000)
commiteaa4f5e1d0b816291a59a47917e569c0384f2b6f
treebefbb663805892aeccb458de70316d9d723abbc2
parente2c85d8e3974c9041ad7b080846b28d2243e771b
drm/radeon: fix regression on atom cards with hardcoded EDID record.

Since fafcf94e2b5732d1e13b440291c53115d2b172e9 introduced an edid size, it seems to have broken this path.

This manifest as oops on T500 Lenovo laptops with dual graphics primarily.

Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=33812

cc: stable@kernel.org
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_atombios.c