1. 17 12月, 2014 1 次提交
  2. 17 11月, 2014 1 次提交
    • D
      drm/msm: Fix fbdev for 16- and 24-bit modes. · 95a9b8d1
      Daniel Thompson 提交于
      Currently forcing the video mode from the kernel command line (for example
      video=HDMI-A-1:1280x720-16@60) does not correctly set the number of bits
      per pixel. This is due to a rather aggressive override in
      msm_fbdev_create(). This is a particular problem for Android bring up
      because the software EGL fallbacks don't support 32bpp.
      
      Since the overrides are actually the default values anyway then this
      problem can be trivially fixed by removing the overrides completely.
      
      Change was tested by dd'ing a test image to /dev/fb0 with no video=
      (still 32bpp), video=1920x1080-32@60, video=1920x1080-24@60 and
      video=1920x1080-16@60 .
      Signed-off-by: NDaniel Thompson <daniel.thompson@linaro.org>
      Cc: David Airlie <airlied@linux.ie>
      Cc: Rob Clark <robdclark@gmail.com>
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      95a9b8d1
  3. 26 8月, 2014 1 次提交
  4. 04 8月, 2014 1 次提交
  5. 08 7月, 2014 2 次提交
  6. 22 6月, 2014 1 次提交
    • M
      drm/msm: Replace type of paddr to uint32_t. · 2557e2d7
      Matwey V. Kornilov 提交于
      This patch helps to avoid the following build issue:
      
      drivers/gpu/drm/msm/msm_fbdev.c:108:2: error: passing argument 3 of 'msm_gem_get_iova_locked' from incompatible pointer type [-Werror]
         msm_gem_get_iova_locked(fbdev->bo, 0, &paddr);
         ^
      In file included from drivers/gpu/drm/msm/msm_fbdev.c:18:0:
      drivers/gpu/drm/msm/msm_drv.h:153:5: note: expected 'uint32_t *' but argument is of type 'dma_addr_t *'
        int msm_gem_get_iova_locked(struct drm_gem_object *obj, int id,
            ^
      Signed-off-by: NMatwey V. Kornilov <matwey@sai.msu.ru>
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      2557e2d7
  7. 25 4月, 2014 1 次提交
  8. 25 8月, 2013 1 次提交
    • R
      drm/msm: basic KMS driver for snapdragon · c8afe684
      Rob Clark 提交于
      The snapdragon chips have multiple different display controllers,
      depending on which chip variant/version.  (As far as I can tell, current
      devices have either MDP3 or MDP4, and upcoming devices have MDSS.)  And
      then external to the display controller are HDMI, DSI, etc. blocks which
      may be shared across devices which have different display controller
      blocks.
      
      To more easily add support for different display controller blocks, the
      display controller specific bits are split out into a "kms" module,
      which provides the kms plane/crtc/encoder objects.
      
      The external HDMI, DSI, etc. blocks are part encoder, and part connector
      currently.  But I think I will pull in the drm_bridge patches from
      chromeos tree, and split them into a bridge+connector, with the
      registers that need to be set in modeset handled by the bridge.  This
      would remove the 'msm_connector' base class.  But some things need to be
      double checked to make sure I could get the correct ON/OFF sequencing..
      
      This patch adds support for mdp4 crtc (including hw cursor), dtv encoder
      (part of MDP4 block), and hdmi.
      Signed-off-by: NRob Clark <robdclark@gmail.com>
      c8afe684