18 Jan, 2021

1 commit


14 Dec, 2020

1 commit


03 Sep, 2020

1 commit

  • A recent change upstream changed how MEDIA_SUPPORT_FILTER vs driver
    autoselection worked, in a way that is negative for GKI. Either, you can
    enable MEDIA_SUPPORT_FILTER and have implicit driver autoselection, OR
    you can disable it to control more of the core media framework, but have
    to manually *deselect* the drivers you don't want. This is untenable for
    GKI as it will require us to stay on top of newly added DVB/TV/Radio
    drivers added upstream, and we don't even want those subsystems right
    now.

    So, modify the bool/prompt menus back to regular bool Kconfig options
    and drop the dependency on MEDIA_SUPPORT_FILTER. This still allows the
    media core to be tweaked, but the drivers will all default off, instead
    of on (=m).

    Bug: 163582226
    Change-Id: I87f72efbf6321c194982c0bff7a80d1d255522ae
    Signed-off-by: Alistair Delva

    Alistair Delva
     

16 Apr, 2020

2 commits


15 Apr, 2020

4 commits

  • Include test_drivers/Kconfig when MEDIA_TEST_SUPPORT is enabled rather
    than MEDIA_PLATFORM_SUPPORT. Test drivers should not depend on
    platform drivers to be enabled.

    Reported-by: "kernelci.org bot"
    Fixes: 4b32216adb010 ("media: split test drivers from platform directory")
    Signed-off-by: Guillaume Tucker
    Signed-off-by: Mauro Carvalho Chehab

    Guillaume Tucker
     
  • The only item that opens at the CEC Kconfig menu is related
    to Remote Controller. Also, its support should not depend on
    media support, so it makes sense to keep both RC and CEC together.

    After this change, the main media menus that are visible
    under "Device Drivers" menu are:

    Remote Controller support --->
    [ ] HDMI CEC RC integration (NEW)
    < > HDMI CEC drivers
    Multimedia support --->

    Acked-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • As we reverted changeset 85f7cd3a2aad ("Revert "media: Kconfig: better support hybrid TV devices""),
    we should add a default to DVB_CORE, as otherwise DVB support won't work.

    Fixes: 85f7cd3a2aad ("Revert "media: Kconfig: better support hybrid TV devices"")
    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • The CEC_CORE symbols are selected by DRM, and should be
    independent of MEDIA_SUPPORT.

    Fixes this warning when doing "make multi_v7_defconfig":

    WARNING: unmet direct dependencies detected for CEC_CORE
    Depends on [m]: MEDIA_SUPPORT [=m]
    Selected by [y]:
    - DRM_TEGRA [=y] && HAS_IOMEM [=y] && (ARCH_TEGRA [=y] || ARM [=y] && COMPILE_TEST [=n]) && COMMON_CLK [=y] && DRM [=y] && OF [=y] && CEC_NOTIFIER [=y]
    Selected by [m]:
    - VIDEO_SAMSUNG_S5P_CEC [=m] && MEDIA_SUPPORT [=m] && MEDIA_PLATFORM_SUPPORT [=y] && CEC_PLATFORM_DRIVERS [=y] && (ARCH_EXYNOS [=y] || COMPILE_TEST [=n])
    - DRM_EXYNOS_HDMI [=y] && HAS_IOMEM [=y] && DRM_EXYNOS [=m] && (DRM_EXYNOS_MIXER [=y] || DRM_EXYNOS5433_DECON [=n]) && CEC_NOTIFIER [=y]
    - DRM_I2C_ADV7511_CEC [=y] && HAS_IOMEM [=y] && DRM [=y] && DRM_BRIDGE [=y] && DRM_I2C_ADV7511 [=m]
    - DRM_DW_HDMI [=m] && HAS_IOMEM [=y] && DRM [=y] && DRM_BRIDGE [=y] && CEC_NOTIFIER [=y]

    This reverts commit f1991411257bdb68d96ef8c8c5b35f412b480375.

    Reported-by: Stephen Rothwell
    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

14 Apr, 2020

23 commits


24 Feb, 2020

1 commit

  • Adjust indentation from spaces to tab (+optional two spaces) as in
    coding style with command like:
    $ sed -e 's/^ /\t/' -i */Kconfig

    Signed-off-by: Krzysztof Kozlowski
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Krzysztof Kozlowski
     

19 Aug, 2019

1 commit

  • Some users have been having a hard time finding the hidden
    menus. A typically case are camera sensor drivers
    (e.g IMX219, OV5645, etc), which are common on embedded
    platforms and not really "ancillary" devices.

    The problem with MEDIA_SUBDRV_AUTOSELECT seems to be related
    to the fact that it uses the "visible" syntax to hide
    the menus.

    This is not obvious and it normally takes some time to
    figure out.

    To fix the problem, add a comment on each of hidden menus,
    which should clarify what option is causing menus to be hidden.

    Signed-off-by: Ezequiel Garcia
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Ezequiel Garcia
     

25 Jul, 2019

1 commit

  • Admittedly, it's not easy to say what CONFIG_EMBEDDED really should be
    doing, just as it's not easy to say what is "embedded".

    In any case, the very description of MEDIA_SUBDRV_AUTOSELECT
    specifies that embedded systems usually don't want
    to enable this autoselect option.

    Therefore, drop the default-yes, when the CONFIG_EMBEDDED is chosen.

    Signed-off-by: Ezequiel Garcia
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Ezequiel Garcia
     

29 May, 2019

1 commit

  • It is really weird that the media controller sources are all top-level
    in drivers/media. It is a bit of a left-over from long ago when most
    media sources were all at the top-level. At some point we reorganized
    the directory structure, but the media-*.c sources where never moved
    to their own directory.

    So create a new mc directory and move all sources there. Also rename
    the prefix from media- to mc-.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

28 May, 2019

1 commit

  • Merge back from upstream into media tree, as there are some
    patches merged upstream that has pontential of causing
    conflicts (one actually rised a conflict already).

    Linux 5.2-rc2

    * tag 'v5.2-rc2': (377 commits)
    Linux 5.2-rc2
    random: fix soft lockup when trying to read from an uninitialized blocking pool
    tracing: Silence GCC 9 array bounds warning
    ext4: fix dcache lookup of !casefolded directories
    locking/lock_events: Use this_cpu_add() when necessary
    KVM: x86: fix return value for reserved EFER
    tools/kvm_stat: fix fields filter for child events
    KVM: selftests: Wrap vcpu_nested_state_get/set functions with x86 guard
    kvm: selftests: aarch64: compile with warnings on
    kvm: selftests: aarch64: fix default vm mode
    kvm: selftests: aarch64: dirty_log_test: fix unaligned memslot size
    KVM: s390: fix memory slot handling for KVM_SET_USER_MEMORY_REGION
    KVM: x86/pmu: do not mask the value that is written to fixed PMUs
    KVM: x86/pmu: mask the result of rdpmc according to the width of the counters
    x86/kvm/pmu: Set AMD's virt PMU version to 1
    KVM: x86: do not spam dmesg with VMCS/VMCB dumps
    kvm: Check irqchip mode before assign irqfd
    kvm: svm/avic: fix off-by-one in checking host APIC ID
    KVM: selftests: do not blindly clobber registers in guest asm
    KVM: selftests: Remove duplicated TEST_ASSERT in hyperv_cpuid.c
    ...

    Mauro Carvalho Chehab
     

24 May, 2019

1 commit

  • 'default n' is the default value for any bool or tristate Kconfig
    setting so there is no need to write it explicitly.

    Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOO
    is not set' for visible symbols") the Kconfig behavior is the same
    regardless of 'default n' being present or not:

    ...
    One side effect of (and the main motivation for) this change is making
    the following two definitions behave exactly the same:

    config FOO
    bool

    config FOO
    bool
    default n

    With this change, neither of these will generate a
    '# CONFIG_FOO is not set' line (assuming FOO isn't selected/implied).
    That might make it clearer to people that a bare 'default n' is
    redundant.
    ...

    Signed-off-by: Bartlomiej Zolnierkiewicz
    Signed-off-by: Mauro Carvalho Chehab

    Bartlomiej Zolnierkiewicz
     

21 May, 2019

1 commit


20 Mar, 2019

1 commit