drm/i915: Insert i915_preliminary_hw_support variable.
authorRodrigo Vivi <rodrigo.vivi@gmail.com>
Mon, 15 Oct 2012 20:16:23 +0000 (17:16 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 17 Oct 2012 19:21:45 +0000 (21:21 +0200)
commit0a3af268644e0217ea22d6899a76187f930e9590
tree3cd8f1fccb96af87cab7ee97aaaf063d644431dc
parenta7c2e1aad6c846f316641bbaa54cf999aeaa7ebc
drm/i915: Insert i915_preliminary_hw_support variable.

On the worst scenario, users with new hardwares and old kernel from
enabling times can get black screens.  So, from now on, this
perliminary_hw_support module parameter shall be used by all upcoming
platforms that are still under enabling. The second option would be to
merge the pci ids after basic modeset works, but that makes testing
and development while bringing up hw a rather tedious afair.

Although it is uncomfortable for developers use this extra variable it
brings more stability for end users.

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
[danvet: dropped the i915_ param prefix, i915.i915_ is just tedious.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h