1. 16 10月, 2006 1 次提交
    • V
      [CPUFREQ][8/8] acpi-cpufreq: Add support for freq feedback from hardware · dfde5d62
      Venkatesh Pallipadi 提交于
      Enable ondemand governor and acpi-cpufreq to use IA32_APERF and IA32_MPERF MSR
      to get active frequency feedback for the last sampling interval. This will
      make ondemand take right frequency decisions when hardware coordination of
      frequency is going on.
      
      Without APERF/MPERF, ondemand can take wrong decision at times due
      to underlying hardware coordination or TM2.
      Example:
      * CPU 0 and CPU 1 are hardware cooridnated.
      * CPU 1 running at highest frequency.
      * CPU 0 was running at highest freq. Now ondemand reduces it to
        some intermediate frequency based on utilization.
      * Due to underlying hardware coordination with other CPU 1, CPU 0 continues to
        run at highest frequency (as long as other CPU is at highest).
      * When ondemand samples CPU 0 again next time, without actual frequency
        feedback from APERF/MPERF, it will think that previous frequency change
        was successful and can go to wrong target frequency. This is because it
        thinks that utilization it has got this sampling interval is when running at
        intermediate frequency, rather than actual highest frequency.
      
      More information about IA32_APERF IA32_MPERF MSR:
      Refer to IA-32 Intel® Architecture Software Developer's Manual at
      http://developer.intel.comSigned-off-by: NVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
      Signed-off-by: NDave Jones <davej@redhat.com>
      dfde5d62
  2. 14 10月, 2006 2 次提交
    • L
      ACPI: consolidate functions in acpi ec driver · d7a76e4c
      Lennart Poettering 提交于
      Unify the following functions:
      
          acpi_ec_poll_read()
          acpi_ec_poll_write()
          acpi_ec_poll_query()
          acpi_ec_intr_read()
          acpi_ec_intr_write()
          acpi_ec_intr_query()
      
      into:
      
          acpi_ec_poll_transaction()
          acpi_ec_intr_transaction()
      
      These new functions take as arguments an ACPI EC command, a few bytes
      to write to the EC data register and a buffer for a few bytes to read
      from the EC data register. The old _read(), _write(), _query() are
      just special cases of these functions.
      
      Then unified the code in acpi_ec_poll_transaction() and
      acpi_ec_intr_transaction() a little more. Both functions are now just
      wrappers around the new acpi_ec_transaction_unlocked() function. The
      latter contains the EC access logic, the two original
      function now just do their special way of locking and call the the
      new function for the actual work.
      
      This saves a lot of very similar code. The primary reason for doing
      this, however, is that my driver for MSI 270 laptops needs to issue
      some non-standard EC commands in a safe way. Due to this I added a new
      exported function similar to ec_write()/ec_write() which is called
      ec_transaction() and is essentially just a wrapper around
      acpi_ec_{poll,intr}_transaction().
      Signed-off-by: NLennart Poettering <mzxreary@0pointer.de>
      Acked-by: NLuming Yu <luming.yu@intel.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      d7a76e4c
    • H
      V4L/DVB (4746): HM12 is YUV 4:2:0, not YUV 4:1:1 · 5011915c
      Hans Verkuil 提交于
      Fix comment in videodev2.h
      Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      5011915c
  3. 12 10月, 2006 33 次提交
  4. 11 10月, 2006 4 次提交