14 Oct, 2020

4 commits

  • i915 does not want to see value entries. Switch it to use
    find_lock_page() instead, and remove the export of find_lock_entry().
    Move find_lock_entry() and find_get_entry() to mm/internal.h to discourage
    any future use.

    Signed-off-by: Matthew Wilcox (Oracle)
    Signed-off-by: Andrew Morton
    Acked-by: Johannes Weiner
    Cc: Alexey Dobriyan
    Cc: Chris Wilson
    Cc: Huang Ying
    Cc: Hugh Dickins
    Cc: Jani Nikula
    Cc: Matthew Auld
    Cc: William Kucharski
    Link: https://lkml.kernel.org/r/20200910183318.20139-6-willy@infradead.org
    Signed-off-by: Linus Torvalds

    Matthew Wilcox (Oracle)
     
  • In support of device-dax growing the ability to front physically
    dis-contiguous ranges of memory, update devm_memremap_pages() to track
    multiple ranges with a single reference counter and devm instance.

    Convert all [devm_]memremap_pages() users to specify the number of ranges
    they are mapping in their 'struct dev_pagemap' instance.

    Signed-off-by: Dan Williams
    Signed-off-by: Andrew Morton
    Cc: Paul Mackerras
    Cc: Michael Ellerman
    Cc: Benjamin Herrenschmidt
    Cc: Vishal Verma
    Cc: Vivek Goyal
    Cc: Dave Jiang
    Cc: Ben Skeggs
    Cc: David Airlie
    Cc: Daniel Vetter
    Cc: Ira Weiny
    Cc: Bjorn Helgaas
    Cc: Boris Ostrovsky
    Cc: Juergen Gross
    Cc: Stefano Stabellini
    Cc: "Jérôme Glisse"
    Cc: Ard Biesheuvel
    Cc: Ard Biesheuvel
    Cc: Borislav Petkov
    Cc: Brice Goglin
    Cc: Catalin Marinas
    Cc: Dave Hansen
    Cc: David Hildenbrand
    Cc: Greg Kroah-Hartman
    Cc: "H. Peter Anvin"
    Cc: Hulk Robot
    Cc: Ingo Molnar
    Cc: Jason Gunthorpe
    Cc: Jason Yan
    Cc: Jeff Moyer
    Cc: "Jérôme Glisse"
    Cc: Jia He
    Cc: Joao Martins
    Cc: Jonathan Cameron
    Cc: kernel test robot
    Cc: Mike Rapoport
    Cc: Pavel Tatashin
    Cc: Peter Zijlstra
    Cc: "Rafael J. Wysocki"
    Cc: Randy Dunlap
    Cc: Thomas Gleixner
    Cc: Tom Lendacky
    Cc: Wei Yang
    Cc: Will Deacon
    Link: https://lkml.kernel.org/r/159643103789.4062302.18426128170217903785.stgit@dwillia2-desk3.amr.corp.intel.com
    Link: https://lkml.kernel.org/r/160106116293.30709.13350662794915396198.stgit@dwillia2-desk3.amr.corp.intel.com
    Signed-off-by: Linus Torvalds

    Dan Williams
     
  • The 'struct resource' in 'struct dev_pagemap' is only used for holding
    resource span information. The other fields, 'name', 'flags', 'desc',
    'parent', 'sibling', and 'child' are all unused wasted space.

    This is in preparation for introducing a multi-range extension of
    devm_memremap_pages().

    The bulk of this change is unwinding all the places internal to libnvdimm
    that used 'struct resource' unnecessarily, and replacing instances of
    'struct dev_pagemap'.res with 'struct dev_pagemap'.range.

    P2PDMA had a minor usage of the resource flags field, but only to report
    failures with "%pR". That is replaced with an open coded print of the
    range.

    [dan.carpenter@oracle.com: mm/hmm/test: use after free in dmirror_allocate_chunk()]
    Link: https://lkml.kernel.org/r/20200926121402.GA7467@kadam

    Signed-off-by: Dan Williams
    Signed-off-by: Dan Carpenter
    Signed-off-by: Andrew Morton
    Reviewed-by: Boris Ostrovsky [xen]
    Cc: Paul Mackerras
    Cc: Michael Ellerman
    Cc: Benjamin Herrenschmidt
    Cc: Vishal Verma
    Cc: Vivek Goyal
    Cc: Dave Jiang
    Cc: Ben Skeggs
    Cc: David Airlie
    Cc: Daniel Vetter
    Cc: Ira Weiny
    Cc: Bjorn Helgaas
    Cc: Juergen Gross
    Cc: Stefano Stabellini
    Cc: "Jérôme Glisse"
    Cc: Andy Lutomirski
    Cc: Ard Biesheuvel
    Cc: Ard Biesheuvel
    Cc: Borislav Petkov
    Cc: Brice Goglin
    Cc: Catalin Marinas
    Cc: Dave Hansen
    Cc: David Hildenbrand
    Cc: Greg Kroah-Hartman
    Cc: "H. Peter Anvin"
    Cc: Hulk Robot
    Cc: Ingo Molnar
    Cc: Jason Gunthorpe
    Cc: Jason Yan
    Cc: Jeff Moyer
    Cc: Jia He
    Cc: Joao Martins
    Cc: Jonathan Cameron
    Cc: kernel test robot
    Cc: Mike Rapoport
    Cc: Pavel Tatashin
    Cc: Peter Zijlstra
    Cc: "Rafael J. Wysocki"
    Cc: Randy Dunlap
    Cc: Thomas Gleixner
    Cc: Tom Lendacky
    Cc: Wei Yang
    Cc: Will Deacon
    Link: https://lkml.kernel.org/r/159643103173.4062302.768998885691711532.stgit@dwillia2-desk3.amr.corp.intel.com
    Link: https://lkml.kernel.org/r/160106115761.30709.13539840236873663620.stgit@dwillia2-desk3.amr.corp.intel.com
    Signed-off-by: Linus Torvalds

    Dan Williams
     
  • Pull media updates from Mauro Carvalho Chehab:

    - the usbvision driver was dropped from staging

    - the Zoran driver were re-added at staging. It gained lots of
    improvements, and was converted to use videobuf2 API

    - a new virtual driver (vidtv) was added in order to allow testing the
    digital TV framework and APIs

    - the media uAPI documentation gained a glossary with commonly used
    terms, helping to simplify some parts of the docs

    - more cleanups at the atomisp driver

    - Mediatek VPU gained support for MT8183

    - added support for codecs with supports doing colorspace conversion
    (CSC)

    - support for CSC API was added at vivid and rksip1 drivers

    - added a helper core support and uAPI for better supporting H.264
    codecs

    - added support for Renesas R8A774E1

    - use the new SPDX GFDL-1.1-no-invariants-or-later license on media
    uAPI docs, instead of a license text

    - Venus driver has gained VP9 codec support

    - lots of other cleanups and driver improvements

    * tag 'media/v5.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (555 commits)
    media: dvb-frontends/drxk_hard.c: fix uninitialized variable warning
    media: tvp7002: fix uninitialized variable warning
    media: s5k5baf: drop 'data' field in struct s5k5baf_fw
    media: dt-bindings: media: venus: Add an optional power domain for perf voting
    media: rcar-vin: rcar-dma: Fix setting VNIS_REG for RAW8 formats
    media: staging: rkisp1: uapi: Do not use BIT() macro
    media: v4l2-mem2mem: Fix spurious v4l2_m2m_buf_done
    media: usbtv: Fix refcounting mixup
    media: zoran.rst: place it at the right place this time
    media: add Zoran cardlist
    media: admin-guide: update cardlists
    media: siano: rename a duplicated card string
    media: zoran: move documentation file to the right place
    media: atomisp: fixes build breakage for ISP2400 due to a cleanup
    media: zoran: fix mixed case on vars
    media: zoran: get rid of an unused var
    media: zoran: use upper case for card types
    media: zoran: fix sparse warnings
    media: zoran: fix smatch warning
    media: zoran: update TODO
    ...

    Linus Torvalds
     

13 Oct, 2020

2 commits

  • Pull debugobjects updates from Thomas Gleixner:
    "A small set of updates for debug objects:

    - Make all debug object descriptors constant. There is no reason to
    have them writeable.

    - Free the per CPU object pool after CPU unplug to avoid memory
    waste"

    * tag 'core-debugobjects-2020-10-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    debugobjects: Free per CPU pool after CPU unplug
    treewide: Make all debug_obj_descriptors const
    debugobjects: Allow debug_obj_descr to be const

    Linus Torvalds
     
  • Pull x86 PASID updates from Borislav Petkov:
    "Initial support for sharing virtual addresses between the CPU and
    devices which doesn't need pinning of pages for DMA anymore.

    Add support for the command submission to devices using new x86
    instructions like ENQCMD{,S} and MOVDIR64B. In addition, add support
    for process address space identifiers (PASIDs) which are referenced by
    those command submission instructions along with the handling of the
    PASID state on context switch as another extended state.

    Work by Fenghua Yu, Ashok Raj, Yu-cheng Yu and Dave Jiang"

    * tag 'x86_pasid_for_5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86/asm: Add an enqcmds() wrapper for the ENQCMDS instruction
    x86/asm: Carve out a generic movdir64b() helper for general usage
    x86/mmu: Allocate/free a PASID
    x86/cpufeatures: Mark ENQCMD as disabled when configured out
    mm: Add a pasid member to struct mm_struct
    x86/msr-index: Define an IA32_PASID MSR
    x86/fpu/xstate: Add supervisor PASID state for ENQCMD
    x86/cpufeatures: Enumerate ENQCMD and ENQCMDS instructions
    Documentation/x86: Add documentation for SVA (Shared Virtual Addressing)
    iommu/vt-d: Change flags type to unsigned int in binding mm
    drm, iommu: Change type of pasid to u32

    Linus Torvalds
     

09 Oct, 2020

1 commit


08 Oct, 2020

2 commits

  • We want to use the dev_* functions here rather than the pr_* variants.
    Switch to using dev_warn() which mirrors what we do on other asics.

    Fixes the following build errors on ARC:

    ../drivers/gpu/drm/amd/amdgpu/../powerplay/navi10_ppt.c: In function 'navi10_fill_i2c_req':
    ../arch/arc/include/asm/bug.h:24:2: error: implicit declaration of function 'pr_warn'; did you mean 'drm_warn'? [-Werror=implicit-function-declaration]

    ../drivers/gpu/drm/amd/amdgpu/../powerplay/sienna_cichlid_ppt.c: In function 'sienna_cichlid_fill_i2c_req':
    ../arch/arc/include/asm/bug.h:24:2: error: implicit declaration of function 'pr_warn'; did you mean 'drm_warn'? [-Werror=implicit-function-declaration]

    Reported-by: kernel test robot
    Cc: Randy Dunlap
    Cc: Evan Quan
    Cc: Vineet Gupta
    Cc: linux-snps-arc@lists.infradead.org
    Acked-by: Randy Dunlap
    Signed-off-by: Alex Deucher

    Alex Deucher
     
  • Commit c1cf79ca5ced46 ("drm/amdgpu: use IP discovery table for renoir")
    introduced a NULL pointer dereference when booting with
    amdgpu.discovery=0, because it removed the call of vega10_reg_base_init()
    for that case.

    Fix this by calling that funcion if amdgpu_discovery == 0 in addition to
    the case that amdgpu_discovery_reg_base_init() failed.

    Fixes: c1cf79ca5ced46 ("drm/amdgpu: use IP discovery table for renoir")
    Signed-off-by: Dirk Gouders
    Cc: Hawking Zhang
    Cc: Evan Quan
    Signed-off-by: Alex Deucher

    Dirk Gouders
     

07 Oct, 2020

2 commits

  • other drivers seems to do something similar

    Signed-off-by: Karol Herbst
    Cc: dri-devel
    Cc: Dave Airlie
    Cc: stable@vger.kernel.org
    Signed-off-by: Dave Airlie
    Link: https://patchwork.freedesktop.org/patch/msgid/20201006220528.13925-2-kherbst@redhat.com

    Karol Herbst
     
  • Previously the code relied on device->pri to be NULL and to fail probing
    later. We really should just return an error inside nvkm_device_ctor for
    unsupported GPUs.

    Fixes: 24d5ff40a732 ("drm/nouveau/device: rework mmio mapping code to get rid of second map")

    Signed-off-by: Karol Herbst
    Cc: dann frazier
    Cc: dri-devel
    Cc: Dave Airlie
    Cc: stable@vger.kernel.org
    Reviewed-by: Jeremy Cline
    Signed-off-by: Dave Airlie
    Link: https://patchwork.freedesktop.org/patch/msgid/20201006220528.13925-1-kherbst@redhat.com

    Karol Herbst
     

04 Oct, 2020

1 commit

  • Linux 5.9-rc7

    * tag 'v5.9-rc7': (683 commits)
    Linux 5.9-rc7
    mm/thp: Split huge pmds/puds if they're pinned when fork()
    mm: Do early cow for pinned pages during fork() for ptes
    mm/fork: Pass new vma pointer into copy_page_range()
    mm: Introduce mm_struct.has_pinned
    mm: validate pmd after splitting
    mm: don't rely on system state to detect hot-plug operations
    mm: replace memmap_context by meminit_context
    arch/x86/lib/usercopy_64.c: fix __copy_user_flushcache() cache writeback
    lib/memregion.c: include memregion.h
    lib/string.c: implement stpcpy
    mm/migrate: correct thp migration stats
    mm/gup: fix gup_fast with dynamic page table folding
    mm: memcontrol: fix missing suffix of workingset_restore
    mm, THP, swap: fix allocating cluster for swapfile by mistake
    mm: slab: fix potential double free in ___cache_free
    Documentation/llvm: Fix clang target examples
    io_uring: ensure async buffered read-retry is setup properly
    KVM: SVM: Add a dedicated INVD intercept routine
    io_uring: don't unconditionally set plug->nowait = true
    ...

    Mauro Carvalho Chehab
     

01 Oct, 2020

1 commit


30 Sep, 2020

10 commits

  • gfxoff is temporarily disabled for navy_flounder, since
    at present the feature caused some tdr when performing
    display operations.

    Signed-off-by: Jiansong Chen
    Reviewed-by: Tao Zhou
    Signed-off-by: Alex Deucher

    Jiansong Chen
     
  • As the dpm clock table is needed during DC HW initialization.
    And that (DC HW initialization) comes before smu_late_init()
    where current APU dpm clock table setup is performed. So, NULL
    pointer dereference will be triggered. By moving APU dpm clock
    table setup to smu_hw_init(), this can be avoided.

    Fixes: 02cf91c113ea ("drm/amd/powerplay: postpone operations not required for hw setup to late_init")
    Acked-by: Nirmoy Das
    Acked-by: Alex Deucher
    Signed-off-by: Evan Quan
    Reported-by: Dirk Gouders
    Signed-off-by: Alex Deucher

    Evan Quan
     
  • ttm_mem_type_manager_func.get_node was changed to return -ENOSPC
    instead of setting the node pointer to NULL. Unfortunately
    vmwgfx still had two places where it was explicitly converting
    -ENOSPC to 0 causing regressions. This fixes those spots by
    allowing -ENOSPC to be returned. That seems to fix recent
    regressions with vmwgfx.

    Signed-off-by: Zack Rusin
    Reviewed-by: Roland Scheidegger
    Reviewed-by: Martin Krastev
    Sigend-off-by: Roland Scheidegger

    Zack Rusin
     
  • Commit 78fe9f63947a2b ("drm/amd/display: Remove DISPCLK Limit Floor for Certain SMU Versions")
    added a call to rn_vbios_smu_get_smu_version() to set clk_mgr->smu_ver.
    That field is initialized prior to the if-statement, already.

    Fixes: 78fe9f63947a2b (drm/amd/display: Remove DISPCLK Limit Floor for Certain SMU Versions)
    Signed-off-by: Dirk Gouders
    Cc: Alex Deucher
    Cc: Sung Lee
    Cc: Yongqiang Sun
    Cc: Rodrigo Siqueira
    Signed-off-by: Alex Deucher

    Dirk Gouders
     
  • The state array is in the reverse order compared to other asics
    (high to low rather than low to high).

    Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1313
    Reviewed-by: Prike Liang
    Signed-off-by: Alex Deucher

    Alex Deucher
     
  • A recent attempt to fix a ref count leak in
    amdgpu_display_crtc_set_config() turned out to be doing too much and
    "fixed" an intended decrease as if it were a leak. Undo that part to
    restore the proper balance. This is the very nature of this function
    to increase or decrease the power reference count depending on the
    situation.

    Consequences of this bug is that the power reference would
    eventually get down to 0 while the display was still in use,
    resulting in that display switching off unexpectedly.

    Signed-off-by: Jean Delvare
    Fixes: e008fa6fb415 ("drm/amdgpu: fix ref count leak in amdgpu_display_crtc_set_config")
    Cc: stable@vger.kernel.org
    Cc: Navid Emamdoost
    Cc: Alex Deucher
    Signed-off-by: Alex Deucher

    Jean Delvare
     
  • Properly handle clang and older versions of gcc.

    Fixes: e77165bf7b02a3 ("drm/amd/display: Add DCN3 blocks to Makefile")
    Acked-by: Nirmoy Das
    Signed-off-by: Alex Deucher

    Alex Deucher
     
  • max_caps might be 0, thus hdcp_work might be ZERO_SIZE_PTR

    Signed-off-by: Flora Cui
    Reviewed-by: Feifei Xu
    Signed-off-by: Alex Deucher

    Flora Cui
     
  • Remove gpu_info fw support for sienna_cichlid etc., since the
    information can be retrieved from discovery binary.

    Signed-off-by: Jiansong Chen
    Reviewed-by: Likun Gao
    Signed-off-by: Alex Deucher

    Jiansong Chen
     
  • SMU10_UMD_PSTATE_PEAK_FCLK value should not be used to set the DPM.

    Suggested-by: Evan Quan
    Reviewed-by: Evan Quan
    Signed-off-by: Sudheesh Mavila
    Signed-off-by: Alex Deucher

    Sudheesh Mavila
     

25 Sep, 2020

2 commits


23 Sep, 2020

3 commits


18 Sep, 2020

9 commits

  • Navi12 has worked fine for a while now.

    Reviewed-by: Evan Quan
    Signed-off-by: Alex Deucher

    Alex Deucher
     
  • Add device ID for sienna_cichlid.

    v2: squash in additional device ids.

    Reviewed-by: Hawking Zhang
    Signed-off-by: Likun Gao
    Reviewed-by: Alex Deucher
    Signed-off-by: Alex Deucher

    Likun Gao
     
  • Switch from magic numbers to defines for AV1 clockgating.

    Reviewed-by: Hawking Zhang
    Signed-off-by: Alex Deucher

    Alex Deucher
     
  • This adds the AV1 registers.

    Reviewed-by: Hawking Zhang
    Signed-off-by: Alex Deucher

    Alex Deucher
     
  • Add the VRS registers.

    Reviewed-by: Hawking Zhang
    Signed-off-by: Alex Deucher

    Alex Deucher
     
  • Set ttm->sg to NULL after kfree, to avoid memory corruption backtrace:

    [ 420.932812] kernel BUG at
    /build/linux-do9eLF/linux-4.15.0/mm/slub.c:295!
    [ 420.934182] invalid opcode: 0000 [#1] SMP NOPTI
    [ 420.935445] Modules linked in: xt_conntrack ipt_MASQUERADE
    [ 420.951332] Hardware name: Dell Inc. PowerEdge R7525/0PYVT1, BIOS
    1.5.4 07/09/2020
    [ 420.952887] RIP: 0010:__slab_free+0x180/0x2d0
    [ 420.954419] RSP: 0018:ffffbe426291fa60 EFLAGS: 00010246
    [ 420.955963] RAX: ffff9e29263e9c30 RBX: ffff9e29263e9c30 RCX:
    000000018100004b
    [ 420.957512] RDX: ffff9e29263e9c30 RSI: fffff3d33e98fa40 RDI:
    ffff9e297e407a80
    [ 420.959055] RBP: ffffbe426291fb00 R08: 0000000000000001 R09:
    ffffffffc0d39ade
    [ 420.960587] R10: ffffbe426291fb20 R11: ffff9e49ffdd4000 R12:
    ffff9e297e407a80
    [ 420.962105] R13: fffff3d33e98fa40 R14: ffff9e29263e9c30 R15:
    ffff9e2954464fd8
    [ 420.963611] FS: 00007fa2ea097780(0000) GS:ffff9e297e840000(0000)
    knlGS:0000000000000000
    [ 420.965144] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    [ 420.966663] CR2: 00007f16bfffefb8 CR3: 0000001ff0c62000 CR4:
    0000000000340ee0
    [ 420.968193] Call Trace:
    [ 420.969703] ? __page_cache_release+0x3c/0x220
    [ 420.971294] ? amdgpu_ttm_tt_unpopulate+0x5e/0x80 [amdgpu]
    [ 420.972789] kfree+0x168/0x180
    [ 420.974353] ? amdgpu_ttm_tt_set_user_pages+0x64/0xc0 [amdgpu]
    [ 420.975850] ? kfree+0x168/0x180
    [ 420.977403] amdgpu_ttm_tt_unpopulate+0x5e/0x80 [amdgpu]
    [ 420.978888] ttm_tt_unpopulate.part.10+0x53/0x60 [amdttm]
    [ 420.980357] ttm_tt_destroy.part.11+0x4f/0x60 [amdttm]
    [ 420.981814] ttm_tt_destroy+0x13/0x20 [amdttm]
    [ 420.983273] ttm_bo_cleanup_memtype_use+0x36/0x80 [amdttm]
    [ 420.984725] ttm_bo_release+0x1c9/0x360 [amdttm]
    [ 420.986167] amdttm_bo_put+0x24/0x30 [amdttm]
    [ 420.987663] amdgpu_bo_unref+0x1e/0x30 [amdgpu]
    [ 420.989165] amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu+0x9ca/0xb10
    [amdgpu]
    [ 420.990666] kfd_ioctl_alloc_memory_of_gpu+0xef/0x2c0 [amdgpu]

    Signed-off-by: Philip Yang
    Reviewed-by: Felix Kuehling
    Reviewed-by: Christian König
    Signed-off-by: Alex Deucher

    Philip Yang
     
  • …l/git/chunkuang.hu/linux into drm-fixes

    Mediatek DRM Fixes for Linux 5.9

    1. Fix scrolling of panel
    2. Remove duplicated include
    3. Use CPU when fail to get cmdq event
    4. Add missing put_device() call

    Signed-off-by: Dave Airlie <airlied@redhat.com>

    From: Chun-Kuang Hu <chunkuang.hu@kernel.org>
    Link: https://patchwork.freedesktop.org/patch/msgid/20200916231724.30571-1-chunkuang.hu@kernel.org

    Dave Airlie
     
  • drm/i915 fixes for v5.9-rc6:
    - Avoid exposing a partially constructed context
    - Use RCU instead of mutex for context termination list iteration
    - Avoid data race reported by KCSAN
    - Filter wake_flags passed to default_wake_function

    Signed-off-by: Dave Airlie
    From: Jani Nikula
    Link: https://patchwork.freedesktop.org/patch/msgid/87y2l8vlj3.fsf@intel.com

    Dave Airlie
     
  • PASID is defined as a few different types in iommu including "int",
    "u32", and "unsigned int". To be consistent and to match with uapi
    definitions, define PASID and its variations (e.g. max PASID) as "u32".
    "u32" is also shorter and a little more explicit than "unsigned int".

    No PASID type change in uapi although it defines PASID as __u64 in
    some places.

    Suggested-by: Thomas Gleixner
    Signed-off-by: Fenghua Yu
    Signed-off-by: Borislav Petkov
    Reviewed-by: Tony Luck
    Reviewed-by: Lu Baolu
    Acked-by: Felix Kuehling
    Acked-by: Joerg Roedel
    Link: https://lkml.kernel.org/r/1600187413-163670-2-git-send-email-fenghua.yu@intel.com

    Fenghua Yu
     

17 Sep, 2020

3 commits

  • [Why]
    DTM topology updates happens by default now. This results in DTM
    warnings when hdcp is not even being enabled. This spams the dmesg
    and doesn't effect normal display functionality so it is better to log it
    using DRM_DEBUG_KMS()

    [How]
    Change the DRM_WARN() to DRM_DEBUG_KMS()

    Signed-off-by: Bhawanpreet Lakha
    Acked-by: Alex Deucher
    Reviewed-by: Rodrigo Siqueira
    Signed-off-by: Alex Deucher

    Bhawanpreet Lakha
     
  • The firmware provided via MODULE_FIRMWARE appears in the
    module information. External tools(eg. dracut) may use the
    list of fw files to include them as appropriate in an initramfs,
    thus missing declaration will lead to request firmware failure
    in boot time.

    Signed-off-by: Jiansong Chen
    Reviewed-by: Tianci Yin
    Signed-off-by: Alex Deucher

    Jiansong Chen
     
  • if of_find_device_by_node() succeed, mtk_drm_kms_init() doesn't have
    a corresponding put_device(). Thus add jump target to fix the exception
    handling for this function implementation.

    Fixes: 8f83f26891e1 ("drm/mediatek: Add HDMI support")
    Signed-off-by: Yu Kuai
    Signed-off-by: Chun-Kuang Hu

    Yu Kuai