summaryrefslogtreecommitdiffstats
path: root/kernel/tsacct.c
diff options
context:
space:
mode:
authorDaniel Vetter2013-01-21 10:52:17 +0100
committerDaniel Vetter2013-02-14 00:07:55 +0100
commit7e53f3a423146745a4e4bb93362d488dfad502a8 (patch)
treeae842901c15126d09ceade149e8c1c72a6766a46 /kernel/tsacct.c
parentdrm/i915: rip out helper->disable noop functions (diff)
downloadkernel-qcow2-linux-7e53f3a423146745a4e4bb93362d488dfad502a8.tar.gz
kernel-qcow2-linux-7e53f3a423146745a4e4bb93362d488dfad502a8.tar.xz
kernel-qcow2-linux-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 'kernel/tsacct.c')
0 files changed, 0 insertions, 0 deletions