From patchwork Thu Sep 20 15:04:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alex Deucher X-Patchwork-Id: 10607925 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A7BD01390 for ; Thu, 20 Sep 2018 15:04:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 96A4622ADC for ; Thu, 20 Sep 2018 15:04:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 88C4227F94; Thu, 20 Sep 2018 15:04:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_SORBS_WEB autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0E3EA22ADC for ; Thu, 20 Sep 2018 15:04:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D82896E622; Thu, 20 Sep 2018 15:04:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-it0-x22f.google.com (mail-it0-x22f.google.com [IPv6:2607:f8b0:4001:c0b::22f]) by gabe.freedesktop.org (Postfix) with ESMTPS id 776816E622; Thu, 20 Sep 2018 15:04:49 +0000 (UTC) Received: by mail-it0-x22f.google.com with SMTP id p129-v6so12756068ite.3; Thu, 20 Sep 2018 08:04:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=9SdZd/9pNpFA7PrC+Q/iVkJetXrrHHLSK1ScCuKnxSQ=; b=rM1LBZmVXYwnPVAQKFWbKAz2tSeyeO8vUrzptCbEDYbwWT6vha8GBH+0vgdm8El5Ie jEjWp9yJmUUqqIfrQ9gzoHpUfyID8gpyYpuVXCR4EI3SFOXCym5IOYHfHOQrd0EARR8R Ha30hEUJOfYeBoRocoiByoiEmknL7Yv+j54aOdCcdzl9SeZkVT0vd+Nzyo2lDuJ9Q1qL n3ZrzDq1X4+wqMVIceR0YGJDtQ0w++4rVOc5pWkz3BcNjt3r9ezGZchLkdjk1c/kYoCg 1ostL6W0jhB8R99ul1CpngJ6/hwMX7d7M+PtCql2A9v86AbScPf1rzzVGKaOYgRrbO0G 7HtQ== X-Gm-Message-State: APzg51CbEzleZTCqnSVcfpCNVmvMk6MjkT8uZEk7la9FzgzES3SK2vwC 2xiihimeBFqqe7KAJ1ys4TG1ztUhn+4= X-Google-Smtp-Source: ANB0VdZsDNTvsF+zds3+UNZZoBJ3ViMQ8XTi7/Cyf6BcBj1XDJfw4Z6/lV5NacvsJQhgHoGRF5ShYg== X-Received: by 2002:a24:1c0a:: with SMTP id c10-v6mr2369050itc.101.1537455888245; Thu, 20 Sep 2018 08:04:48 -0700 (PDT) Received: from crucial.amd.com ([165.204.55.251]) by smtp.gmail.com with ESMTPSA id f12-v6sm8140757iog.32.2018.09.20.08.04.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Sep 2018 08:04:46 -0700 (PDT) From: Alex Deucher X-Google-Original-From: Alex Deucher To: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, airlied@gmail.com Subject: [pull] amdgpu/kfd, radeon, ttm, scheduler drm-next-4.20 Date: Thu, 20 Sep 2018 10:04:38 -0500 Message-Id: <20180920150438.12693-1-alexander.deucher@amd.com> X-Mailer: git-send-email 2.13.6 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alex Deucher Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi Dave, This is a new pull for drm-next on top of last weeks with the following changes: - Fixed 64 bit divide - Fixed vram type on vega20 - Misc vega20 fixes - Misc DC fixes - Fix GDS/GWS/OA domain handling Previous changes from last week: amdgpu/kfd: - Picasso (new APU) support - Raven2 (new APU) support - Vega20 enablement - ACP powergating improvements - Add ABGR/XBGR display support - VCN JPEG engine support - Initial xGMI support - Use load balancing for engine scheduling - Lots of new documentation - Rework and clean up i2c and aux handling in DC - Add DP YCbCr 4:2:0 support in DC - Add DMCU firmware loading for Raven (used for ABM and PSR) - New debugfs features in DC - LVDS support in DC - Implement wave kill for gfx/compute (light weight reset for shaders) - Use AGP aperture to avoid gart mappings when possible - GPUVM performance improvements - Bulk moves for more efficient GPUVM LRU handling - Merge amdgpu and amdkfd into one module - Enable gfxoff and stutter mode on Raven - Misc cleanups Scheduler: - Load balancing support - Bug fixes ttm: - Bulk move functionality - Bug fixes radeon: - Misc cleanups The following changes since commit 0957dc7097a3f462f6cedb45cf9b9785cc29e5bb: drm/amdgpu: revert "stop using gart_start as offset for the GTT domain" (2018-09-14 10:05:42 -0500) are available in the git repository at: git://people.freedesktop.org/~agd5f/linux drm-next-4.20 for you to fetch changes up to 846311ae68f3c78365ebf3dff505c99e7da861cf: drm/amdgpu: Exclude MM engines for vega20 virtual device (2018-09-19 22:32:29 -0500) ---------------------------------------------------------------- A. Wilcox (1): drm/amdgpu: use processed values for counting Charlene Liu (1): drm/amd/display: Fix 3D stereo issues. Chiawen Huang (2): drm/amd/display: add aux i2c event log. drm/amd/display: add query HPD interface. Christian König (15): drm/amdgpu: add amdgpu_vm_entries_mask v2 drm/amdgpu: fix parameter documentation for amdgpu_vm_free_pts drm/amdgpu: add GDS, GWS and OA debugfs files drm/amdgpu: stop crashing on GDS/GWS/OA eviction drm/amdgpu: don't allocate zero sized kernel BOs drm/amdgpu: drop size check drm/amdgpu: remove fence fallback drm/amdgpu: stop pipelining VM PDs/PTs moves drm/amdgpu: always enable shadow BOs v2 drm/amdgpu: shadow BOs don't need any alignment drm/amdgpu: always recover VRAM during GPU recovery drm/amdgpu: fix shadow BO restoring drm/amdgpu: fix up GDS/GWS/OA shifting drm/amdgpu: initialize GDS/GWS/OA domains even when they are zero sized drm/amdgpu: move reserving GDS/GWS/OA into common code Dmytro Laktyushkin (1): drm/amd/display: stop using switch for different CS revisions Evan Quan (3): drm/amd/powerplay: update OD feature judgement drm/amd/powerplay: update OD to take voltage value instead of offset drm/amd/powerplay: retrieve the updated clock table after OD Frank Min (2): drm/amdgpu: add vega20 sriov capability detection drm/amdgpu: Exclude MM engines for vega20 virtual device Hawking Zhang (2): drm/amdgpu: update vram_info structure in atomfirmware.h drm/amdgpu: fix unknown vram mem type for vega20 Leo Li (2): drm/amd/display: Drop amdgpu_display_manager.dal member drm/amd/display: Drop amdgpu_dm_prev_state struct Mathieu Malaterre (1): drm/radeon: change function signature to pass full range Tom St Denis (1): drm/amd/amdgpu: Avoid fault when allocating an empty buffer object Tony Cheng (1): drm/amd/display: dc 3.1.66 drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | 16 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 12 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 119 ++----- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 56 ---- drivers/gpu/drm/amd/amdgpu/amdgpu_gds.h | 7 - drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 12 +- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 14 +- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 81 ++--- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 8 +- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 12 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 125 ++++--- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 37 ++- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 28 -- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 32 +- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 35 +- drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c | 15 +- drivers/gpu/drm/amd/amdgpu/soc15.c | 6 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 - drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 11 - drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c | 6 +- drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c | 5 +- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 18 + drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 5 +- drivers/gpu/drm/amd/display/dc/dc.h | 2 +- drivers/gpu/drm/amd/display/dc/dc_link.h | 1 + .../gpu/drm/amd/display/dc/dce/dce_clock_source.c | 369 ++++++++++++--------- .../gpu/drm/amd/display/dc/dce/dce_clock_source.h | 9 + .../drm/amd/display/dc/dce110/dce110_resource.c | 3 + .../drm/amd/display/dc/dce112/dce112_resource.c | 2 +- .../drm/amd/display/dc/dce120/dce120_resource.c | 2 +- .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.c | 4 +- drivers/gpu/drm/amd/display/dc/dm_event_log.h | 5 +- .../display/dc/i2caux/dce110/aux_engine_dce110.c | 9 +- .../gpu/drm/amd/display/dc/i2caux/i2c_hw_engine.c | 4 + drivers/gpu/drm/amd/include/atomfirmware.h | 20 +- drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c | 305 ++++++++++++----- drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.h | 6 + .../gpu/drm/amd/powerplay/hwmgr/vega20_pptable.h | 2 + .../gpu/drm/amd/powerplay/inc/smu11_driver_if.h | 6 +- drivers/gpu/drm/amd/powerplay/inc/vega20_ppsmc.h | 3 +- drivers/gpu/drm/radeon/atombios_i2c.c | 2 +- 43 files changed, 730 insertions(+), 688 deletions(-)