1. 08 5月, 2015 1 次提交
    • C
      drm/i915: skylake primary plane scaling using shared scalers · 6156a456
      Chandra Konduru 提交于
      This patch enables skylake primary plane scaling using shared
      scalers atomic desgin.
      
      v2:
      -use single copy of scaler limits (Matt)
      
      v3:
      -move detach_scalers to crtc commit path (Matt)
      -use values in plane_state->src as regular integers (me)
      
      v4:
      -changes to align with updated scaler structures (Matt, me)
      -keep plane src rect in 16.16 format (Matt, Daniel)
      
      v5:
      -Rebased on top of 90/270 rotation changes (me)
      -Fixed an issue introduced by 90/270 changes where plane programming
       is using drm_plane->state rect instead of intel_plane->state rect.
       This change also required for scaling to work properly. (me)
      -With 90/270, updated limits to cover both portrait and landscape usages (me)
      -Refactored skylake_update_primary_plane to reduce its size (Daniel)
       Added helper functions for refactoring are comprehended enough to be
       used for skylake_update_plane (for sprite) too. One stop towards
       having single function for all planes.
      
      v6:
      -Added fixme note when checking plane_state->src width in update_plane (Daniel)
      -Release lock when failing to colorkey request with active scaler (Daniel)
      Signed-off-by: NChandra Konduru <chandra.konduru@intel.com>
      Reviewed-by: matthew.d.roper@intel.com
      Reviewed-by: sonika.jindal@intel.com (v5)
      Testcase: igt/kms_plane_scaling
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      6156a456
  2. 30 4月, 2015 6 次提交
  3. 29 4月, 2015 1 次提交
    • C
      drm/i915: Silence compiler warning in dvo · 699ab787
      Chris Wilson 提交于
      drivers/gpu/drm/i915/intel_dvo.c: In function ‘intel_dvo_init’:
      drivers/gpu/drm/i915/intel_dvo.c:531:8: warning: array subscript is above array bounds [-Warray-bounds]
      
      gcc -v
      Using built-in specs.
      COLLECT_GCC=gcc
      COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
      Target: x86_64-linux-gnu
      Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.2-5'
      --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs
      --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
      --program-suffix=-4.7 --enable-shared --enable-linker-build-id
      --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
      --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7
      --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
      --enable-libstdcxx-debug --enable-libstdcxx-time=yes
      --enable-gnu-unique-object --enable-plugin --enable-objc-gc
      --with-arch-32=i586 --with-tune=generic --enable-checking=release
      --build=x86_64-linux-gnu --host=x86_64-linux-gnu
      --target=x86_64-linux-gnu
      Thread model: posix
      
      and
      
      gcc -v
      Using built-in specs.
      COLLECT_GCC=gcc
      COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-linux-gnu/4.8/lto-wrapper
      Target: i686-linux-gnu
      Configured with: ../src/configure -v --with-pkgversion='Ubuntu
      4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
      --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
      --program-suffix=-4.8 --enable-shared --enable-linker-build-id
      --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
      --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib
      --enable-nls --with-sysroot=/ --enable-clocale=gnu
      --enable-libstdcxx-debug --enable-libstdcxx-time=yes
      --enable-gnu-unique-object --disable-libmudflap --enable-plugin
      --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk
      --enable-gtk-cairo
      --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386/jre
      --enable-java-home
      --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-i386
      --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-i386
      --with-arch-directory=i386
      --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc
      --enable-targets=all --enable-multiarch --disable-werror
      --with-arch-32=i686 --with-multilib-list=m32,m64,mx32
      --with-tune=generic --enable-checking=release --build=i686-linux-gnu
      --host=i686-linux-gnu --target=i686-linux-gnu
      Thread model: posix
      gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Reviewed-by: NDave Gordon <david.s.gordon@intel.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      699ab787
  4. 28 4月, 2015 1 次提交
  5. 24 4月, 2015 14 次提交
  6. 21 4月, 2015 4 次提交
  7. 20 4月, 2015 7 次提交
  8. 17 4月, 2015 1 次提交
  9. 16 4月, 2015 5 次提交
    • W
      drm/i915/audio: remove duplicated include from intel_audio.c · 097f8261
      Wei Yongjun 提交于
      Remove duplicated include.
      Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      097f8261
    • D
      drm/i915: Re-adjusting rc6 promotional timer for chv · f4f71c7d
      Deepak S 提交于
      After feedback from the hardware team we are changing the RC6
      promotional timer to increase the power saving without
      changing performance.
      Signed-off-by: NDeepak S <deepak.s@linux.intel.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      f4f71c7d
    • T
      drm/i915: Add a delay in Displayport AUX transactions for compliance testing · 74ebf294
      Todd Previte 提交于
      The Displayport Link Layer Compliance Testing Specification 1.2 rev 1.1
      specifies that repeated AUX transactions after a failure (no response /
      invalid response) must have a minimum delay of 400us before the resend can
      occur. Tests 4.2.1.1 and 4.2.1.2 are two tests that require this specifically.
      
      Also, the check for DP_AUX_CH_CTL_TIME_OUT_ERROR has been moved out into a
      separate case. This case just continues with the next iteration of the loop
      as the HW has already waited the required amount of time.
      
      V2:
      - Changed udelay() to usleep_range()
      V3:
      - Removed extraneous check for timeout
      - Updated comment to reflect this change
      V4:
      - Reformatted a comment
      V5:
      - Added separate check for HW timeout on AUX transactions. A message
        is logged upon detection of this case.
      V6:
      - Add continue statement to HW timeout detect case
      - Remove the log message indicating a timeout has been
        detected (review feedback)
      V7:
      - Updated the commit message to remove verbage about the HW timeout
        case that is no longer valid.
      Signed-off-by: NTodd Previte <tprevite@gmail.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      74ebf294
    • T
      drm/i915: Add automated testing support for Displayport compliance testing · c5d5ab7a
      Todd Previte 提交于
      Add the skeleton framework for supporting automation for Displayport compliance
      testing. This patch adds the necessary framework for the source device to
      appropriately respond to test automation requests from a sink device.
      
      V2:
      - Addressed previous mailing list feedback
      - Fixed compilation issue (struct members declared in a later patch)
      - Updated debug messages to be more accurate
      - Added status checks for the DPCD read/write calls
      - Removed excess comments and debug messages
      - Fixed debug message compilation warnings
      - Fixed compilation issue with missing variables
      - Updated link training autotest to ACK
      
      V3:
      - Fixed the checks on the DPCD return code to be <= 0
        rather than != 0
      - Removed extraneous assignment of a NAK return code in the
        DPCD read failure case
      - Changed the return in the DPCD read failure case to a goto
        to the exit point where the status code is written to the sink
      - Removed FAUX test case since it's deprecated now
      - Removed the compliance flag assignment in handle_test_request
      
      V4:
      - Moved declaration of type_type here
      - Removed declaration of test_data (moved to a later patch)
      - Added reset to 0 for compliance test variables
      
      V5:
      - Moved test_active variable declaration and initialization out of
        this patch and into the patch where it's used
      - Changed variable name compliance_testing_active to
        compliance_test_active to unify the naming convention
      - Added initialization for compliance_test_type variable
      Signed-off-by: NTodd Previte <tprevite@gmail.com>
      Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      c5d5ab7a
    • K
      drm/i915: fix semicolon.cocci warnings · b3f9d7d7
      kbuild test robot 提交于
      drivers/gpu/drm/i915/i915_debugfs.c:4850:2-3: Unneeded semicolon
      
       Removes unneeded semicolon.
      
      Generated by: scripts/coccinelle/misc/semicolon.cocci
      
      CC: Jani Nikula <jani.nikula@intel.com>
      Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      b3f9d7d7