drm/i915: only set TV mode when any property changed
authorZhenyu Wang <zhenyu.z.wang@intel.com>
Mon, 23 Mar 2009 11:40:57 +0000 (19:40 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 1 Apr 2009 22:21:59 +0000 (15:21 -0700)
commitebcc8f2eade76946dbb5d5c545b91f8157051aa8
tree9570ae19eb99ed2245ff7f5b69fca2ae125da435
parent580982d399071474c349538b7f5780bc79b54e7f
drm/i915: only set TV mode when any property changed

If there's no real property change, don't need to set TV mode again.

Signed-off-by: Zhenyu Wang <zhenyu.z.wang@intel.com>
[anholt: checkpatch.pl fix]
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_tv.c