1. 06 1月, 2012 1 次提交
  2. 05 1月, 2012 1 次提交
    • R
      drm: add support for private planes · 0a7eb243
      Rob Clark 提交于
      In cases where the scanout hw is sufficiently similar between "overlay"
      and traditional crtc layers, it might be convenient to allow the driver
      to create internal drm_plane helper objects used by the drm_crtc
      implementation, rather than duplicate code between the plane and crtc.
      A private plane is not exposed to userspace.
      Signed-off-by: NRob Clark <rob@ti.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      0a7eb243
  3. 04 1月, 2012 17 次提交
  4. 20 12月, 2011 8 次提交
  5. 17 12月, 2011 10 次提交
  6. 07 12月, 2011 1 次提交
  7. 01 12月, 2011 1 次提交
    • V
      drm: Redefine pixel formats · 04b3924d
      Ville Syrjälä 提交于
      Name the formats as DRM_FORMAT_X instead of DRM_FOURCC_X. Use consistent
      names, especially for the RGB formats. Component order and byte order are
      now strictly specified for each format.
      
      The RGB format naming follows a convention where the components names
      and sizes are listed from left to right, matching the order within a
      single pixel from most significant bit to least significant bit.
      
      The YUV format names vary more. For the 4:2:2 packed formats and 2
      plane formats use the fourcc. For the three plane formats the
      name includes the plane order and subsampling information using the
      standard subsampling notation. Some of those also happen to match
      the official fourcc definition.
      
      The fourccs for for all the RGB formats and some of the YUV formats
      I invented myself. The idea was that looking at just the fourcc you
      get some idea what the format is about without having to decode it
      using some external reference.
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      04b3924d
  8. 24 11月, 2011 1 次提交
    • K
      drm/i915: Treat pre-gen4 backlight duty cycle value consistently · ca88479c
      Keith Packard 提交于
      For i945 and earlier chips, the backlight frequency value had the low
      bit (of 16) fixed to zero. The Pineview code path handled this by just
      exposing the backlight range as 15 bits while other chips had the
      backlight range limited to 0 .. 0xfffe.
      
      This patch makes everyone take the pineview code path, providing 15
      bits of backlight duty cycle range which seems more than sufficient to
      me.
      
      Daniel Mack reported that writing 1 to bit 0 of the duty cycle
      register was causing problems on his Samsung X20 notebook, even when
      the duty cycle value was less than the maximum backlight value. (He
      tried a value of 29749 with max_brightness of 29750). This patch never
      writes a '1' to that bit.
      Signed-off-by: NKeith Packard <keithp@keithp.com>
      Reviewed-by: NTakashi Iwai <tiwai@suse.de>
      Reported-and-tested-by: NDaniel Mack <zonque@gmail.com>
      Cc: stable@kernel.org
      ca88479c