]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: narrow scope of Apple re-POST hack
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 22 May 2013 17:29:33 +0000 (13:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 May 2013 16:35:45 +0000 (12:35 -0400)
commit4ed21c6412c4ff490386c81c753b001059bfa0d8
tree33d5c79edea6c1d1204936061ee45675eff12f43
parente15130ba19ee22bdc16adb22325c6aee545f9cb0
drm/radeon: narrow scope of Apple re-POST hack

This narrows the scope of the apple re-POST hack added in:
drm/radeon: re-POST the asic on Apple hardware when booted via EFI

That patch prevents UVD from working on macs when booted in EFI
mode.  The original patch fixed macbook2,1 systems which were
r5xx and hence have no UVD.  Limit the hack to those systems to
prevent UVD breakage on newer systems.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=63935

Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/gpu/drm/radeon/radeon_device.c