1. 15 Dec, 2020 18 commits
  2. 14 Dec, 2020 4 commits
    • Daniel Vetter's avatar
      drm/amdkfd: fix ttm size refactor fallout · 8c392cd5
      Daniel Vetter authored
      I guess Christian didn't compile test amdkfd.
      Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
      Fixes: e11bfb99 ("drm/ttm: cleanup BO size handling v3")
      Cc: Christian König <christian.koenig@amd.com>
      Cc: Huang Rui <ray.huang@amd.com> (v1)
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Cc: Felix Kuehling <Felix.Kuehling@amd.com>
      Cc: amd-gfx@lists.freedesktop.org
      Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20201214191725.3899147-1-daniel.vetter@ffwll.ch
      8c392cd5
    • Linus Torvalds's avatar
      Merge tag 'drm-next-2020-12-11' of git://anongit.freedesktop.org/drm/drm · 1d36dffa
      Linus Torvalds authored
      Pull drm updates from Dave Airlie:
       "Not a huge amount of big things here, AMD has support for a few new HW
        variants (vangogh, green sardine, dimgrey cavefish), Intel has some
        more DG1 enablement. We have a few big reworks of the TTM layers and
        interfaces, GEM and atomic internal API reworks cross tree. fbdev is
        marked orphaned in here as well to reflect the current reality.
      
        core:
         - documentation updates
         - deprecate DRM_FORMAT_MOD_NONE
         - atomic crtc enable/disable rework
         - GEM convert drivers to gem object functions
         - remove SCATTER_LIST_MAX_SEGMENT
      
        sched:
         - avoid infinite waits
      
        ttm:
         - remove AGP support
         - don't modify caching for swapout
         - ttm pinning rework
         - major TTM reworks
         - new backend allocator
         - multihop support
      
        vram-helper:
         - top down BO placement fix
         - TTM changes
         - GEM object support
      
        displayport:
         - DP 2.0 DPCD prep work
         - DP MST extended DPCD caps
      
        fbdev:
         - mark as orphaned
      
        amdgpu:
         - Initial Vangogh support
         - Green Sardine support
         - Dimgrey Cavefish support
         - SG display support for renoir
         - SMU7 improvements
         - gfx9+ modiifier support
         - CI BACO fixes
      
        radeon:
         - expose voltage via hwmon on SUMO
      
        amdkfd:
         - fix unique id handling
      
        i915:
         - more DG1 enablement
         - bigjoiner support
         - integer scaling filter support
         - async flip support
         - ICL+ DSI command mode
         - Improve display shutdown
         - Display refactoring
         - eLLC machine fbdev loading fix
         - dma scatterlist fixes
         - TGL hang fixes
         - eLLC display buffer caching on SKL+
         - MOCS PTE seeting for gen9+
      
        msm:
         - Shutdown hook
         - GPU cooling device support
         - DSI 7nm and 10nm phy/pll updates
         - sm8150/sm2850 DPU support
         - GEM locking re-work
         - LLCC system cache support
      
        aspeed:
         - sysfs output config support
      
        ast:
         - LUT fix
         - new display mode
      
        gma500:
         - remove 2d framebuffer accel
      
        panfrost:
         - move gpu reset to a worker
      
        exynos:
         - new HDMI mode support
      
        mediatek:
         - MT8167 support
         - yaml bindings
         - MIPI DSI phy code moved
      
        etnaviv:
         - new perf counter
         - more lockdep annotation
      
        hibmc:
         - i2c DDC support
      
        ingenic:
         - pixel clock reset fix
         - reserved memory support
         - allow both DMA channels at once
         - different pixel format support
         - 30/24/8-bit palette modes
      
        tilcdc:
         - don't keep vblank irq enabled
      
        vc4:
         - new maintainer added
         - DSI registration fix
      
        virtio:
         - blob resource support
         - host visible and cross-device support
         - uuid api support"
      
      * tag 'drm-next-2020-12-11' of git://anongit.freedesktop.org/drm/drm: (1754 commits)
        drm/amdgpu: Initialise drm_gem_object_funcs for imported BOs
        drm/amdgpu: fix size calculation with stolen vga memory
        drm/amdgpu: remove amdgpu_ttm_late_init  and amdgpu_bo_late_init
        drm/amdgpu: free the pre-OS console framebuffer after the first modeset
        drm/amdgpu: enable runtime pm using BACO on CI dGPUs
        drm/amdgpu/cik: enable BACO reset on Bonaire
        drm/amd/pm: update smu10.h WORKLOAD_PPLIB setting for raven
        drm/amd/pm: remove one unsupported smu function for vangogh
        drm/amd/display: setup system context for APUs
        drm/amd/display: add S/G support for Vangogh
        drm/amdkfd: Fix leak in dmabuf import
        drm/amdgpu: use AMDGPU_NUM_VMID when possible
        drm/amdgpu: fix sdma instance fw version and feature version init
        drm/amd/pm: update driver if version for dimgrey_cavefish
        drm/amd/display: 3.2.115
        drm/amd/display: [FW Promotion] Release 0.0.45
        drm/amd/display: Revert DCN2.1 dram_clock_change_latency update
        drm/amd/display: Enable gpu_vm_support for dcn3.01
        drm/amd/display: Fixed the audio noise during mode switching with HDCP mode on
        drm/amd/display: Add wm table for Renoir
        ...
      1d36dffa
    • Christian König's avatar
      drm/ttm: cleanup BO size handling v3 · e11bfb99
      Christian König authored
      Based on an idea from Dave, but cleaned up a bit.
      
      We had multiple fields for essentially the same thing.
      
      Now bo->base.size is the original size of the BO in
      arbitrary units, usually bytes.
      
      bo->mem.num_pages is the size in number of pages in the
      resource domain of bo->mem.mem_type.
      
      v2: use the GEM object size instead of the BO size
      v3: fix printks in some places
      Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
      Reviewed-by: Huang Rui <ray.huang@amd.com> (v1)
      Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: https://patchwork.freedesktop.org/patch/406831/
      e11bfb99
    • Tian Tao's avatar
      drm/drv: Remove invalid assignments · dc379303
      Tian Tao authored
      it's not necessary to assign a value of 0 to ret here, because if
      the previous functions were executed correctly, ret would be 0.
      Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
      Reviewed-by: default avatarSimon Ser <contact@emersion.fr>
      Link: https://patchwork.freedesktop.org/patch/msgid/1607653037-37785-1-git-send-email-tiantao6@hisilicon.com
      dc379303
  3. 13 Dec, 2020 3 commits
    • Linus Torvalds's avatar
      Linux 5.10 · 2c85ebc5
      Linus Torvalds authored
      2c85ebc5
    • Linus Torvalds's avatar
      Merge tag 'x86-urgent-2020-12-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · ec6f5e0e
      Linus Torvalds authored
      Pull x86 fixes from Thomas Gleixner:
       "A set of x86 and membarrier fixes:
      
         - Correct a few problems in the x86 and the generic membarrier
           implementation. Small corrections for assumptions about visibility
           which have turned out not to be true.
      
         - Make the PAT bits for memory encryption correct vs 4K and 2M/1G
           page table entries as they are at a different location.
      
         - Fix a concurrency issue in the the local bandwidth readout of
           resource control leading to incorrect values
      
         - Fix the ordering of allocating a vector for an interrupt. The order
           missed to respect the provided cpumask when the first attempt of
           allocating node local in the mask fails. It then tries the node
           instead of trying the full provided mask first. This leads to
           erroneous error messages and breaking the (user) supplied affinity
           request. Reorder it.
      
         - Make the INT3 padding detection in optprobe work correctly"
      
      * tag 'x86-urgent-2020-12-13' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/kprobes: Fix optprobe to detect INT3 padding correctly
        x86/apic/vector: Fix ordering in vector assignment
        x86/resctrl: Fix incorrect local bandwidth when mba_sc is enabled
        x86/mm/mem_encrypt: Fix definition of PMD_FLAGS_DEC_WP
        membarrier: Execute SYNC_CORE on the calling thread
        membarrier: Explicitly sync remote cores when SYNC_CORE is requested
        membarrier: Add an actual barrier before rseq_preempt()
        x86/membarrier: Get rid of a dubious optimization
      ec6f5e0e
    • Linus Torvalds's avatar
      Merge tag 'block-5.10-2020-12-12' of git://git.kernel.dk/linux-block · d2360a39
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "This should be it for 5.10.
      
        Mike and Song looked into the warning case, and thankfully it appears
        the fix was pretty trivial - we can just change the md device chunk
        type to unsigned int to get rid of it. They cannot currently be < 0,
        and nobody is checking for that either.
      
        We're reverting the discard changes as the corruption reports came in
        very late, and there's just no time to attempt to deal with it at this
        point. Reverting the changes in question is the right call for 5.10"
      
      * tag 'block-5.10-2020-12-12' of git://git.kernel.dk/linux-block:
        md: change mddev 'chunk_sectors' from int to unsigned
        Revert "md: add md_submit_discard_bio() for submitting discard bio"
        Revert "md/raid10: extend r10bio devs to raid disks"
        Revert "md/raid10: pull codes that wait for blocked dev into one function"
        Revert "md/raid10: improve raid10 discard request"
        Revert "md/raid10: improve discard request for far layout"
        Revert "dm raid: remove unnecessary discard limits for raid10"
      d2360a39
  4. 12 Dec, 2020 12 commits
  5. 11 Dec, 2020 3 commits
    • Linus Torvalds's avatar
      Merge tag 'mtd/fixes-for-5.10-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux · 7f376f19
      Linus Torvalds authored
      Pull mtd fixes from Miquel Raynal:
       "Second series of fixes for raw NAND drivers initiated because of a
        rework of the ECC engine subsystem.
      
        The location of the DT parsing logic got moved, breaking several
        drivers which in fact were not doing the ECC engine initialization at
        the right place.
      
        These drivers have been fixed by enforcing a particular ECC engine
        type and algorithm, software Hamming, while the algorithm may be
        overwritten by a DT property. This merge request fixes this in the
        xway, socrates, plat_nand, pasemi, orion, mpc5121, gpio, au1550 and
        ams-delta controller drivers"
      
      * tag 'mtd/fixes-for-5.10-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux:
        mtd: rawnand: xway: Do not force a particular software ECC engine
        mtd: rawnand: socrates: Do not force a particular software ECC engine
        mtd: rawnand: plat_nand: Do not force a particular software ECC engine
        mtd: rawnand: pasemi: Do not force a particular software ECC engine
        mtd: rawnand: orion: Do not force a particular software ECC engine
        mtd: rawnand: mpc5121: Do not force a particular software ECC engine
        mtd: rawnand: gpio: Do not force a particular software ECC engine
        mtd: rawnand: au1550: Do not force a particular software ECC engine
        mtd: rawnand: ams-delta: Do not force a particular software ECC engine
      7f376f19
    • Linus Torvalds's avatar
      Merge tag 'mmc-v5.10-rc4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 1de5d12b
      Linus Torvalds authored
      Pull MMC fixes from Ulf Hansson:
       "A couple of MMC fixes:
      
        MMC core:
         - Fixup condition for CMD13 polling for RPMB requests
      
        MMC host:
         - mtk-sd: Fix system suspend/resume support for CQHCI
         - mtd-sd: Extend SDIO IRQ fix to more variants
         - sdhci-of-arasan: Fix clock registration error for Keem Bay SOC
         - tmio: Bring HW to a sane state after a power off"
      
      * tag 'mmc-v5.10-rc4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: mediatek: mark PM functions as __maybe_unused
        mmc: block: Fixup condition for CMD13 polling for RPMB requests
        mmc: tmio: improve bringing HW to a sane state with MMC_POWER_OFF
        mmc: sdhci-of-arasan: Fix clock registration error for Keem Bay SOC
        mmc: mediatek: Extend recheck_sdio_irq fix to more variants
        mmc: mediatek: Fix system suspend/resume support for CQHCI
      1de5d12b
    • Wolfram Sang's avatar
      Merge tag 'at24-fixes-for-v5.10' of... · e977aaf8
      Wolfram Sang authored
      Merge tag 'at24-fixes-for-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux into i2c/for-current
      
      at24 fixes for v5.10
      
      - fix NVMEM name with custom AT24 device name
      e977aaf8