summaryrefslogtreecommitdiff
path: root/include/keys
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-01-21 10:52:17 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-02-14 00:07:55 +0100
commit7e53f3a423146745a4e4bb93362d488dfad502a8 (patch)
treeae842901c15126d09ceade149e8c1c72a6766a46 /include/keys
parentaf5676f1f91585cabe811b8f697e32015e2be826 (diff)
downloadlinux-3.10-7e53f3a423146745a4e4bb93362d488dfad502a8.tar.gz
linux-3.10-7e53f3a423146745a4e4bb93362d488dfad502a8.tar.bz2
linux-3.10-7e53f3a423146745a4e4bb93362d488dfad502a8.zip
drm/fb-helper: fixup set_config semantics
While doing the modeset rework for drm/i915 I've noticed that the fb helper is very liberal with the semantics of the ->set_config interface: - It doesn't bother clearing stale modes (e.g. when unplugging a screen). - It unconditionally sets the fb, even if no mode will be set on a given crtc. - The initial setup is a bit fun since we need to pick crtcs to decide the desired fb size, but also should set the modeset->fb pointer. Explain what's going on in the fixup code after the fb is allocated. The crtc helper didn't really care, but the new i915 modeset infrastructure did, so I've had to add a bunch of special-cases to catch this. Fix this all up and enforce the interface by converting the checks in drm/i915/intel_display.c to BUG_ONs. v2: Fix commit message spell fail spotted by Rob Clark. Reviewed-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/keys')
0 files changed, 0 insertions, 0 deletions