diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-01-28 14:49:23 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-02-10 17:28:45 +0100 |
commit | dbb025757a30cd225c5587685ae0971ecf301718 (patch) | |
tree | 2ff13c3b8cabaef2d238021b311bb4212422861d /lib/mpi/mpiutil.c | |
parent | 5def474ec6e37fe8dbac5070da4899931d46bf1f (diff) |
drm/i915: don't allow interlaced pipeconf on gen2
gen2 doesn't support it, so be a bit more paranoid and add a check to
ensure that we never ever set an unsupported interlaced bit.
Ensure that userspace can't set an interlaced mode by resetting
interlace_allowed for the crt on gen2. dvo and lvds are the only other
encoders that gen2 supports and these already disallow interlaced
modes.
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions