1. 02 4月, 2014 1 次提交
    • M
      drm: Replace crtc fb with primary plane fb (v3) · f4510a27
      Matt Roper 提交于
      Now that CRTC's have a primary plane, there's no need to track the
      framebuffer in the CRTC.  Replace all references to the CRTC fb with the
      primary plane's fb.
      
      This patch was generated by the Coccinelle semantic patching tool using
      the following rules:
      
              @@ struct drm_crtc C; @@
              -   (C).fb
              +   C.primary->fb
      
              @@ struct drm_crtc *C; @@
              -   (C)->fb
              +   C->primary->fb
      
      v3: Generate patch via coccinelle.  Actual removal of crtc->fb has been
          moved to a subsequent patch.
      
      v2: Fixup several lingering crtc->fb instances that were missed in the
          first patch iteration.  [Rob Clark]
      Signed-off-by: NMatt Roper <matthew.d.roper@intel.com>
      Reviewed-by: NRob Clark <robdclark@gmail.com>
      f4510a27
  2. 23 1月, 2014 1 次提交
  3. 14 1月, 2014 1 次提交
    • R
      drivers: gpu: Mark functions as static in cirrus_mode.c · 5e89440f
      Rashika 提交于
      Mark functions cirrus_set_start_address(), cirrus_encoder_destroy(),
      cirrus_vga_get_modes() and cirrus_connector_best_encoder() as static in
      drm/cirrus/cirrus_mode.c because they are not used outside this file.
      
      This eliminates the following warnings in drm/cirrus/cirrus_mode.c:
      drivers/gpu/drm/cirrus/cirrus_mode.c:105:6: warning: no previous
      prototype for ‘cirrus_set_start_address’ [-Wmissing-prototypes]
      drivers/gpu/drm/cirrus/cirrus_mode.c:456:6: warning: no previous
      prototype for ‘cirrus_encoder_destroy’ [-Wmissing-prototypes]
      drivers/gpu/drm/cirrus/cirrus_mode.c:495:5: warning: no previous
      prototype for ‘cirrus_vga_get_modes’ [-Wmissing-prototypes]
      drivers/gpu/drm/cirrus/cirrus_mode.c:512:21: warning: no previous
      prototype for ‘cirrus_connector_best_encoder’ [-Wmissing-prototypes]
      Signed-off-by: NRashika Kheria <rashika.kheria@gmail.com>
      Reviewed-by: NJosh Triplett <josh@joshtriplett.org>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      5e89440f
  4. 06 11月, 2013 1 次提交
  5. 03 10月, 2012 2 次提交
  6. 20 7月, 2012 1 次提交
  7. 17 5月, 2012 1 次提交
    • D
      drm/kms: driver for virtual cirrus under qemu · f9aa76a8
      Dave Airlie 提交于
      This is the initial driver for emulated cirrus GPU found in qemu.
      This driver only supports the emulated GPU and doesn't attempt
      to bind to any real cirrus GPUs.
      
      This driver is intended to be used with xf86-video-modesetting in userspace.
      It requires at least version 0.3.0
      
      This follow the same design as ast and mgag200, and is based on work
      done by Matthew Garrett previously.
      
      This GPU has no hw cursor, and it can't scanout 32-bpp, only packed 24-bpp.
      i.e. it sucks.
      Reviewed-by: NAdam Jackson <ajax@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      f9aa76a8