1. 18 Oct, 2019 1 commit
    • Robert Chiras's avatar
      drm/mxsfb: Update mxsfb with additional pixel formats · b45ce5e0
      Robert Chiras authored
      
      
      Since version 4 of eLCDIF, there are some registers that can do
      transformations on the input data, like re-arranging the pixel
      components. By doing that, we can support more pixel formats.
      This patch adds support for X/ABGR and RGBX/A. Although, the local alpha
      is not supported by eLCDIF, the alpha pixel formats were added to the
      supported pixel formats but it will be ignored. This was necessary since
      there are systems (like Android) that requires such pixel formats.
      
      Also, add support for the following pixel formats:
                  16 bpp: RG16 ,BG16, XR15, XB15, AR15, AB15
      
      Set the bus format based on input from the user and panel
      capabilities.
      Save the bus format in crtc->mode.private_flags, so the bridge can
      use it.
      Signed-off-by: default avatarRobert Chiras <robert.chiras@nxp.com>
      Signed-off-by: default avatarMirela Rabulea <mirela.rabulea@nxp.com>
      b45ce5e0
  2. 14 Oct, 2019 1 commit
  3. 30 May, 2019 1 commit
    • Thomas Gleixner's avatar
      treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 · c942fddf
      Thomas Gleixner authored
      
      
      Based on 3 normalized pattern(s):
      
        this program is free software you can redistribute it and or modify
        it under the terms of the gnu general public license as published by
        the free software foundation either version 2 of the license or at
        your option any later version this program is distributed in the
        hope that it will be useful but without any warranty without even
        the implied warranty of merchantability or fitness for a particular
        purpose see the gnu general public license for more details
      
        this program is free software you can redistribute it and or modify
        it under the terms of the gnu general public license as published by
        the free software foundation either version 2 of the license or at
        your option any later version [author] [kishon] [vijay] [abraham]
        [i] [kishon]@[ti] [com] this program is distributed in the hope that
        it will be useful but without any warranty without even the implied
        warranty of merchantability or fitness for a particular purpose see
        the gnu general public license for more details
      
        this program is free software you can redistribute it and or modify
        it under the terms of the gnu general public license as published by
        the free software foundation either version 2 of the license or at
        your option any later version [author] [graeme] [gregory]
        [gg]@[slimlogic] [co] [uk] [author] [kishon] [vijay] [abraham] [i]
        [kishon]@[ti] [com] [based] [on] [twl6030]_[usb] [c] [author] [hema]
        [hk] [hemahk]@[ti] [com] this program is distributed in the hope
        that it will be useful but without any warranty without even the
        implied warranty of merchantability or fitness for a particular
        purpose see the gnu general public license for more details
      
      extracted by the scancode license scanner the SPDX license identifier
      
        GPL-2.0-or-later
      
      has been chosen to replace the boilerplate/reference in 1105 file(s).
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Reviewed-by: default avatarAllison Randal <allison@lohutok.net>
      Reviewed-by: default avatarRichard Fontana <rfontana@redhat.com>
      Reviewed-by: default avatarKate Stewart <kstewart@linuxfoundation.org>
      Cc: linux-spdx@vger.kernel.org
      Link: https://lkml.kernel.org/r/20190527070033.202006027@linutronix.de
      
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c942fddf
  4. 14 Jan, 2019 1 commit
    • Noralf Trønnes's avatar
      drm/mxsfb: Use drm_fbdev_generic_setup() · 8e93f102
      Noralf Trønnes authored
      
      
      The CMA helper is already using the drm_fb_helper_generic_probe part of
      the generic fbdev emulation. This patch makes full use of the generic
      fbdev emulation by using its drm_client callbacks. This means that
      drm_mode_config_funcs->output_poll_changed and drm_driver->lastclose are
      now handled by the emulation code. Additionally fbdev unregister happens
      automatically on drm_dev_unregister().
      
      The drm_fbdev_generic_setup() call is put after drm_dev_register() in the
      driver. This is done to highlight the fact that fbdev emulation is an
      internal client that makes use of the driver, it is not part of the
      driver as such. If fbdev setup fails, an error is printed, but the driver
      succeeds probing.
      
      Cc: Marek Vasut <marex@denx.de>
      Signed-off-by: default avatarNoralf Trønnes <noralf@tronnes.org>
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181128212713.43500-3-noralf@tronnes.org
      8e93f102
  5. 06 Dec, 2016 1 commit
    • Marek Vasut's avatar
      drm: Add new driver for MXSFB controller · 45d59d70
      Marek Vasut authored
      
      
      Add new driver for the MXSFB controller found in i.MX23/28/6SX .
      The MXSFB controller is a simple framebuffer controller with one
      parallel LCD output. Unlike the MXSFB fbdev driver that is used
      on these systems now, this driver uses the DRM/KMS framework.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Lucas Stach <l.stach@pengutronix.de>
      Cc: Fabio Estevam <fabio.estevam@nxp.com>
      Cc: Shawn Guo <shawnguo@kernel.org>
      45d59d70