1. 07 6月, 2019 4 次提交
  2. 12 4月, 2019 1 次提交
  3. 03 4月, 2019 1 次提交
  4. 01 4月, 2019 3 次提交
  5. 22 1月, 2019 1 次提交
    • F
      powerpc, fbdev: Use NV_CMODE and NV_VMODE only when CONFIG_PPC32 && CONFIG_PPC_PMAC && CONFIG_NVRAM · 066ac5c3
      Finn Thain 提交于
      This patch addresses inconsistencies in Mac framebuffer drivers and their
      use of Kconfig symbols relating to NVRAM, so PPC64 can use CONFIG_NVRAM.
      
      The defined(CONFIG_NVRAM) condition is replaced with the weaker
      IS_REACHABLE(CONFIG_NVRAM) condition, like atari_scsi.
      
      Macintosh framebuffer drivers use default settings for color mode and
      video mode that are found in NVRAM. On PCI Macs, MacOS stores display
      settings in the Name Registry (NR) partition in NVRAM*. On NuBus Macs,
      there is no NR partition and MacOS stores display mode settings in PRAM**.
      
      Early-model Macs are the ones most likely to benefit from these settings,
      since they are more likely to have a fixed-frequency monitor connected to
      the built-in framebuffer device. Moreover, a single NV_CMODE value and
      a single NV_VMODE value provide for only one display.
      
      The NV_CMODE and NV_VMODE constants are apparently offsets into the NR
      partition for Old World machines. This also suggests that these defaults
      are not useful on later models. The NR partition seems to be optional on
      New World machines. CONFIG_NVRAM cannot be enabled on PPC64 at present.
      
      It is safe to say that NVRAM support in PowerMac fbdev drivers is only
      applicable to CONFIG_PPC32 so make this condition explicit. This means
      matroxfb driver won't crash on PPC64 when CONFIG_NVRAM becomes available
      there.
      
      For imsttfb, add the missing CONFIG_NVRAM test to prevent a build failure,
      since PPC64 does not implement nvram_read_byte(). Also add a missing
      machine_is(powermac) check. Change the inconsistent dependency on
      CONFIG_PPC and the matching #ifdef tests to CONFIG_PPC_PMAC.
      
      For valkyriefb, to improve clarity and consistency with the other PowerMac
      fbdev drivers, test for CONFIG_PPC_PMAC instead of !CONFIG_MAC. Remove a
      bogus comment regarding PRAM.
      
      * See GetPreferredConfiguration and SavePreferredConfiguration in
      "Designing PCI Cards and Drivers for Power Macintosh Computers".
      
      ** See SetDefaultMode and GetDefaultMode in "Designing Cards and Drivers
      for the Macintosh Family".
      Signed-off-by: NFinn Thain <fthain@telegraphics.com.au>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      066ac5c3
  6. 21 12月, 2018 2 次提交
  7. 24 10月, 2018 2 次提交
  8. 08 10月, 2018 2 次提交
  9. 15 5月, 2018 1 次提交
  10. 14 5月, 2018 3 次提交
  11. 25 4月, 2018 1 次提交
  12. 28 3月, 2018 1 次提交
  13. 26 3月, 2018 1 次提交
  14. 13 3月, 2018 1 次提交
  15. 02 2月, 2018 1 次提交
  16. 30 12月, 2017 1 次提交
  17. 05 12月, 2017 1 次提交
  18. 10 11月, 2017 1 次提交
  19. 21 8月, 2017 1 次提交
  20. 05 5月, 2017 1 次提交
    • A
      fbdev: sti: don't select CONFIG_VT · 34bf129a
      Arnd Bergmann 提交于
      While working on another build error, I ran into several variations of
      this dependency loop:
      
      subsection "Kconfig recursive dependency limitations"
      drivers/input/Kconfig:8:	symbol INPUT is selected by VT
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      drivers/tty/Kconfig:12:	symbol VT is selected by FB_STI
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      drivers/video/fbdev/Kconfig:677:	symbol FB_STI depends on FB
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      drivers/video/fbdev/Kconfig:5:	symbol FB is selected by DRM_KMS_FB_HELPER
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      drivers/gpu/drm/Kconfig:72:	symbol DRM_KMS_FB_HELPER is selected by DRM_KMS_CMA_HELPER
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      drivers/gpu/drm/Kconfig:137:	symbol DRM_KMS_CMA_HELPER is selected by DRM_HDLCD
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      drivers/gpu/drm/arm/Kconfig:6:	symbol DRM_HDLCD depends on OF
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      drivers/of/Kconfig:4:	symbol OF is selected by X86_INTEL_CE
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      arch/x86/Kconfig:523:	symbol X86_INTEL_CE depends on X86_IO_APIC
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      arch/x86/Kconfig:1011:	symbol X86_IO_APIC depends on X86_LOCAL_APIC
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      arch/x86/Kconfig:1005:	symbol X86_LOCAL_APIC depends on X86_UP_APIC
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      arch/x86/Kconfig:980:	symbol X86_UP_APIC depends on PCI_MSI
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      drivers/pci/Kconfig:11:	symbol PCI_MSI is selected by AMD_IOMMU
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      drivers/iommu/Kconfig:106:	symbol AMD_IOMMU depends on IOMMU_SUPPORT
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      drivers/iommu/Kconfig:5:	symbol IOMMU_SUPPORT is selected by DRM_ETNAVIV
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      drivers/gpu/drm/etnaviv/Kconfig:2:	symbol DRM_ETNAVIV depends on THERMAL
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      drivers/thermal/Kconfig:5:	symbol THERMAL is selected by ACPI_VIDEO
      For a resolution refer to Documentation/kbuild/kconfig-language.txt
      subsection "Kconfig recursive dependency limitations"
      drivers/acpi/Kconfig:183:	symbol ACPI_VIDEO is selected by INPUT
      
      This doesn't currently show up as I fixed the 'THERMAL' part of it,
      but I noticed that the FB_STI dependency should not be there but
      was introduced by slightly incorrect bug-fix patch that tried to
      fix a link error.
      
      Instead of selecting 'VT' to make us enter the drivers/video/console
      directory at compile-time, it's sufficient to build the
      drivers/video/console/sticore.c file by adding its directory
      to when CONFIG_FB_STI is enabled. Alternatively, we could move the
      sticore code to another directory that is always built when we
      have at STI_CONSOLE or FB_STI enabled.
      
      Fixes: 17085a93 ("parisc: stifb: should depend on STI_CONSOLE")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Helge Deller <deller@gmx.de>
      Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
      Cc: Alexander Beregalov <a.beregalov@gmail.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      34bf129a
  21. 06 1月, 2017 1 次提交
  22. 06 10月, 2016 1 次提交
  23. 27 9月, 2016 1 次提交
  24. 11 8月, 2016 2 次提交
    • L
      video: ARM CLCD: add special panel hook for Versatiles · 25348160
      Linus Walleij 提交于
      This adds a special panel init hook for the ARM reference designs
      Integrator (IM-PD1), Versatile and RealView, so we can configure
      a DPI panel from device tree and have it working without
      boardfiles for these machines.
      
      Basically this is the same code as from the board files, just
      moved over to look up the syscon DT node and manipulate the
      special CLCD register from their regmap.
      
      Tested on RealView PB11MPcore.
      
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      25348160
    • L
      video: ARM CLCD: backlight support for OF · c38162be
      Linus Walleij 提交于
      If the device is probed from device tree, we can support
      backlight. This is used with some systems such as the
      ST Microelectronics Nomadik.
      
      We have to add HAS_IOMEM to the dependencies of CLCD since
      the backlight class device will now be selected, and if it
      gets selected on an arch that does not have IOMEM,
      compilation will fail.
      
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      c38162be
  25. 10 5月, 2016 1 次提交
  26. 28 4月, 2016 1 次提交
  27. 11 3月, 2016 1 次提交
    • A
      xen kconfig: don't "select INPUT_XEN_KBDDEV_FRONTEND" · 13aa38e2
      Arnd Bergmann 提交于
      The Xen framebuffer driver selects the xen keyboard driver, so the latter
      will be built-in if XEN_FBDEV_FRONTEND=y. However, when CONFIG_INPUT
      is a loadable module, this configuration cannot work. On mainline kernels,
      the symbol will be enabled but not used, while in combination with
      a patch I have to detect such useless configurations, we get the
      expected link failure:
      
      drivers/input/built-in.o: In function `xenkbd_remove':
      xen-kbdfront.c:(.text+0x2f0): undefined reference to `input_unregister_device'
      xen-kbdfront.c:(.text+0x30e): undefined reference to `input_unregister_device'
      
      This removes the extra "select", as it just causes more trouble than
      it helps. In theory, some defconfig file might break if it has
      XEN_FBDEV_FRONTEND in it but not INPUT_XEN_KBDDEV_FRONTEND. The Kconfig
      fragment we ship in the kernel (kernel/configs/xen.config) however
      already enables both, and anyone using an old .config file would
      keep having both enabled.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Suggested-by: NDavid Vrabel <david.vrabel@citrix.com>
      Fixes: 36c1132e ("xen kconfig: fix select INPUT_XEN_KBDDEV_FRONTEND")
      Acked-by: NStefano Stabellini <stefano.stabellini@eu.citrix.com>
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      13aa38e2
  28. 26 2月, 2016 2 次提交