commit | decbbcda2965fadb9fbaaf4f9e057ae554aa3cfe | [log] [tgz] |
---|---|---|
author | Jaswinder Singh Rajput <jaswinder@kernel.org> | Sat Sep 12 23:15:07 2009 +0530 |
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | Thu Sep 17 14:43:34 2009 -0700 |
tree | 2a16261bc9eb11cbab878e259dc4e03c4750a2fc | |
parent | b7e53aba2f0e6abf23e3f07b38b241145c33a005 [diff] |
drm/i915: intel_display.c handle latency variable efficiently By handling latency variable efficiently we also get rid of this warning : CC [M] drivers/gpu/drm/i915/intel_display.o drivers/gpu/drm/i915/intel_display.c: In function ‘igd_enable_cxsr’: drivers/gpu/drm/i915/intel_display.c:1918: warning: ‘latency’ may be used uninitialized in this function Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>