]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: don't init fbdev if we don't have any connectors
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Jan 2016 05:30:33 +0000 (00:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Jan 2016 05:35:56 +0000 (00:35 -0500)
commit54dae0883a6c9b2ad7d7d91cc2897d6663515587
tree6377a179ed298c3cc361389658bea4f5719d2364
parenta0804e617287b6c303198b86ecedc72cfdf48c1e
drm/amdgpu: don't init fbdev if we don't have any connectors

Don't init fbdev if we don't have connectors.  E.g., if you have
a PX laptop with the displays attached to an IGP with no driver
support, you may end up with a blank screen rather than falling
back to vesa, etc.

Based on a similar radeon patch from Rob Clark.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c