Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert hardcoded list of OS names into a default case & Merge upstream #95

Open
wants to merge 1,857 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1857 commits
Select commit Hold shift + click to select a range
933262c
drm/amdgpu/uvd3.x: fix register definition warnings
alexdeucher Jun 22, 2020
d0bf57b
drm: amdgpu: fix premature goto because of missing braces
Jun 24, 2020
0bf5003
drm/amdgpu: ensure 0 is returned for success in jpeg_v2_5_wait_for_idle
Jun 24, 2020
1416e9a
drm/amdkfd: Fix circular locking dependency warning
mukjoshi Jun 24, 2020
bd49c88
drm/amdgpu: call release_firmware() without a NULL check
Jun 25, 2020
2493bad
drm/amdgpu: rework runtime pm enablement for BACO
alexdeucher Apr 24, 2020
527fa5d
drm/amdgpu: enable runtime pm on vega10 when noretry=0
alexdeucher Jun 24, 2020
e4506e0
drm/amd/powerplay: Fix NULL dereference in lock_bus() on Vega20 w/o RAS
im-0 Jun 25, 2020
ae2d988
drm/amdgpu: SI support for UVD clock control
Jun 24, 2020
07eccbb
drm/amdgpu: SI support for VCE clock control
Jun 24, 2020
2853e77
drm/amdgpu: SI support for UVD and VCE power managment
Jun 24, 2020
6279cb4
drm/amdgpu: Clean up KFD VMID assignment
fxkamd Jun 25, 2020
b3a9670
drm/amdgpu: Let KFD use more VMIDs on Arcturus
fxkamd Jun 25, 2020
3b1c20e
drm/amdgpu: request init data in virt detection
wenshengsheng2020 Jun 23, 2020
de20c5e
drm/amdgpu: move reg base init forward for soc15
wenshengsheng2020 Jun 23, 2020
82a1426
drm/amdgpu: invoke req full access early enough
wenshengsheng2020 Jun 23, 2020
bcf252f
drm/amdgpu: merge atombios init block
wenshengsheng2020 Jun 23, 2020
a120075
drm/amdgpu: reduce ip discovery data reading size
wenshengsheng2020 Jun 24, 2020
4381c75
Revert "drm/amdkcl: check whether DEFINE_IDA2 is available (v2)"
Jun 29, 2020
2d4a31a
drm/amdgpu: correct discovery_tmr_size init val
wenshengsheng2020 Jun 29, 2020
c65f44f
drm/amd/powerplay: change method to set board parameters
Jun 24, 2020
8746b15
drm/amd/powerplay: update driver if file for sienna_cichlid
Jun 24, 2020
32a5e8f
drm/amd/powerplay: drop unnecessary "@" on OD sysfs output
Jun 17, 2020
435e5cc
Revert "drm/amd/display: add mechanism to skip DCN init"
Jun 29, 2020
92fc4ee
drm/amd/display: Initialize psr debug flags to 0
Jun 11, 2020
dca95c9
drm/amd/display: Preserve gpu memory allocation for life of dc
Jun 15, 2020
5965a28
drm/amd/display: [FW Promotion] Release 1.0.20
anthony-koo2 Jun 16, 2020
f05614c
drm/amd/display: Handle SMU msg response
Jun 16, 2020
3dcc01b
drm/amd/display: check dpcd read status of DP_DOWNSTREAM_PORT_0
Jun 17, 2020
81f01ee
drm/amd/display: [FW Promotion] Release 1.0.21
anthony-koo2 Jun 19, 2020
6a7f264
drm/amd/display: Fix incorrect rounding for 10Hz refresh range
Jun 18, 2020
05c643e
drm/amd/display: [FW Promotion] Release 1.0.22
anthony-koo2 Jun 19, 2020
2fa01f2
drm/amd/display: Add register key and status for edid
Jun 20, 2020
76c5686
drm/amd/display: 3.2.92
AMD-aric Jun 22, 2020
56aedca
drm/amd/display: Enable 4 to 1 mpc combine for max detile use
Jun 12, 2020
7e997e1
drm/amdgpu: wait for moving fences after pinning BO
GaryAmd Jun 30, 2020
a887dd4
Merge amd-staging-dkms-5.6 into amd-mainline-dkms-5.6
Jul 1, 2020
b0526dd
Bump AMDGPU version to 5.6.8
Jul 1, 2020
bb158cf
drm/amdkfd: Update hardware scheduling time quanta
jlgreathouse Jun 29, 2020
1fb0f9f
Revert "drm/amdgpu: support access regs outside of mmio bar"
Jun 30, 2020
5d162c1
drm/amdkfd: Add Arcturus GWS support and fix VG10
jlgreathouse Jun 29, 2020
8f794d0
drm/amdgpu: cleanup sysfs file handling
May 7, 2020
073747b
Merge amd-staging-dkms-5.6 into amd-mainline-dkms-5.6
Jul 6, 2020
526e17c
Bump AMDGPU version to 5.6.9
Jul 6, 2020
8861789
drm/amdgpu/atomfirmware: fix vram_info fetching for renoir
alexdeucher Jun 25, 2020
55f6836
drm/amdgpu/atomfirmware: update to latest integratedinfotable
alexdeucher Jun 25, 2020
dba4ba4
drm/amdgpu/atomfirmware: update vram info handling for renoir
alexdeucher Jun 25, 2020
11ee781
drm/amdgpu: make IB test synchronize with init for SRIOV(v2)
ljymonk Jun 29, 2020
c223784
drm/amd/powerplay: fix compile error with ARCH=arc
Jun 28, 2020
8083c6f
drm/amdgpu: use %u rather than %d for sclk/mclk
alexdeucher Jul 1, 2020
38f2093
drm/amdgpu: asd function needs to be unloaded in suspend phase
huangrui Jun 30, 2020
c81d2f4
drm/amdgpu: add TMR destory function for psp
huangrui Jun 30, 2020
47d23c9
drm/amdgpu: updated ta ucode header
Jul 6, 2020
2c8afc2
drm/amdgpu: updated ta ucode loading
Jul 6, 2020
3912cbf
drm/amdgpu: use RREG32_KIQ to read register when get cg state
Jul 6, 2020
7ecd3d5
drm/amdgpu: fix coding error of mmhub pg enablement
Jul 6, 2020
7a5579a
drm/amdgpu: Move the mutex lock/unlock out
Jul 6, 2020
fa30e68
drm/amdkfd: Remove redundant kfd2kgd interface lookup
fxkamd Jul 1, 2020
fcc1e67
drm/amdkfd: Prevent GWS+debugger on buggy firmware
jlgreathouse Jun 30, 2020
2499166
drm/amd/display: Create plane rotation property
Plagman Sep 12, 2019
7a49c10
drm/amd/display: Only revalidate bandwidth on medium and fast updates
Jun 29, 2020
b736269
drm/amd/display: remove redundant initialization of variable result
Jul 1, 2020
c4ffc62
drm/amd/display: Add diags scaling log by default
May 29, 2020
2c5ac43
drm/amd/display: Send VSIF on unsupported modes on DAL
Jun 23, 2020
6d66a7c
drm/amd/display: Remove VSC infoframe dep on DMCU
Jun 26, 2020
ec8b3d2
drm/amd/display: [FW Promotion] Release 0.0.23
anthony-koo2 Jun 27, 2020
9ed17e8
drm/amd/display: 3.2.93
anthony-koo2 Jun 27, 2020
fc757e1
drm/amd/display: Request PHYCLK adjustment on PHY enable/disable
Jun 26, 2020
bd84c2b
drm/amd/display: Add logger for SMU msg
Jun 10, 2020
66470d9
drm/amd/display: Add missing reg mask for dcn3
Jul 2, 2020
112b460
drm/amd/display: Add missing CW4 programming for DCN30
Jul 7, 2020
4881bc3
drm/amdgpu: add register distance members into vmhub structure
huangrui Jul 1, 2020
da6409a
drm/amdgpu: use register distance member instead of hardcode in GMC9
huangrui Jul 1, 2020
e2443f5
drm/amdgpu: use register distance member instead of hardcode in GMC10
huangrui Jul 1, 2020
eb05e38
drm/amdgpu: use register distance member instead of hardcode in VCN1/…
huangrui Jul 1, 2020
fb45cab
drm/amdgpu: use register distance member instead of hardcode in UVD7/…
huangrui Jul 1, 2020
f566601
drm/amdgpu: use register distance member instead of hardcode in VCN2/…
huangrui Jul 1, 2020
0957f26
drm/amdgpu: use register distance member instead of hardcode in gfxhu…
huangrui Jul 1, 2020
56d0ff4
drm/amdgpu: use register distance member instead of hardcode in gfxhu…
huangrui Jul 1, 2020
a0dfde1
drm/amdgpu: use register distance member instead of hardcode in gfxhu…
huangrui Jul 1, 2020
b1abafb
drm/amdgpu: use register distance member instead of hardcode in mmhub v1
huangrui Jul 1, 2020
3432c30
drm/amdgpu: use register distance member instead of hardcode in mmhub v2
huangrui Jul 1, 2020
ecc8f16
drm/amdgpu: use register distance member instead of hardcode in mmhub…
huangrui Jul 1, 2020
5ab2029
gpu/drm: Remove debug info about CPU address
Jul 2, 2020
3e52373
drm/amdgpu: don't do soft recovery if gpu_recovery=0
Jul 6, 2020
f9fcf36
drm/amdkfd: Move ipc_obj from kfd_bo to kgd_mem
fxkamd Jun 27, 2020
85dd852
drm/amdgpu: use RREG32_KIQ to read register when get cg state
Jul 6, 2020
06a31fe
drm/amdkcl: add test for drm_plane property rotation
Jul 9, 2020
a66208d
drm/amd/powerplay: correct the .get_workload_type() pointer
Jul 3, 2020
df6b759
drm/amd/powerplay: correct the .get_workload_type() pointer
Jul 3, 2020
8519c09
drm/amdgpu: remove unnecessary logic of ASIC check
Jul 8, 2020
9e6244f
drm/amdgpu: enable gpu recovery for sienna cichlid
Jul 8, 2020
dc65dad
drm/amdkfd: sparse: fix incorrect type in assignment
fxkamd Jun 26, 2020
458051e
drm/amdkfd: Return -EBUSY if debugger already in use
fxkamd Jul 10, 2020
950fdf0
drm/amdkcl: add kcl copy of epoll event masks macro
Jul 10, 2020
f0f91bd
drm/amdkcl: add kcl copy of epoll event masks macro
Jul 10, 2020
003a9f0
Merge amd-staging-dkms-5.6 into amd-mainline-dkms-5.6
Jul 13, 2020
6ad906d
Bump AMDGPU version to 5.6.10
Jul 13, 2020
94d94cb
drm/amd/display: Use VUPDATE_NO_LOCK instead of VUPDATE for dcn30
Jul 8, 2020
86718d4
drm/amd/display: Fix CSC remap matrix not being applied on dcn30
Jul 8, 2020
9c3f1bf
drm/amdgpu/display: create fake mst encoders ahead of time (v4)
alexdeucher Apr 20, 2020
9c9493c
drm/amdgpu: move csa to the lower gmc hole location
Mar 20, 2020
0eb9e3a
drm/amd/powerplay: update driver if file for sienna_cichlid
Jul 9, 2020
f1f8cf6
drm/amd/powerplay: drop unnecessary wrappers around clock retrieving
Jun 9, 2020
a0af3f1
drm/amd/powerplay: bypass wrapper on retrieving current clock frequency
Jun 9, 2020
15bb583
drm/amd/powerplay: unshare the code for retrieving current clock freq…
Jun 9, 2020
1ead483
drm/amd/powerplay: drop unused code and wrapper around clock retrieving
Jun 9, 2020
2b2e776
drm/amd/powerplay: put setting hard limit common code in smu_v11_0.c
Jun 9, 2020
700a195
drm/amd/powerplay: revise calling chain on setting soft limit
Jun 9, 2020
749f0f5
drm/amd/powerplay: revise calling chain on retrieving frequency range
Jun 9, 2020
200f079
drm/amd/powerplay: put dpm frequency setting common code in smu_v11_0.c
Jun 9, 2020
382a888
drm/amdgpu: minor cleanup of phase1 suspend code
Jul 9, 2020
e5c955d
drm/amdgpu/gfx10: fix race condition for kiq
Jul 10, 2020
22f6150
drm/amdgpu: fix preemption unit test
Jul 10, 2020
c195108
drm/amdgpu: fix spelling mistake "Falied" -> "Failed"
Jul 10, 2020
d772568
drm/amd/display: Add missing reg mask for dcn3
Jul 2, 2020
1f822ee
drm/amdkcl: drop drm version 4.5 support
Jul 15, 2020
b149c43
drm/amd/display: clip plane rects in DM before passing into DC
Jun 4, 2020
0db20c0
drm/amdkcl: Test whether drm_mode_get_hv_timing() is available
Jul 9, 2020
5cfaca5
drm/amdkcl: Test whether drm_atomic_helper_check_plane_state() is ava…
Jul 6, 2020
987acdc
drm/amdkcl: fix build error of drm_atomic_get_new_crtc_state undefined
Jul 6, 2020
93cf69b
drm/amdkcl: drop drm version 4.2 support
Jul 15, 2020
3b2b654
drm/amdkcl: drop drm versio < 4.6 support
Jul 15, 2020
d1d080e
drm/amd/display: update dml var
Jun 15, 2020
2092f54
drm/amd/display: Power down hardware if set mode is not called before…
Jun 25, 2020
2dbc11b
drm/amd/display: reduce sr_xxx_time by 3 us when ppt disable
Jul 1, 2020
c420a14
drm/amd/display: OLED panel backlight adjust not work with external d…
Jun 22, 2020
23547c8
drm/amd/display: p-state warning occurs while changing resolution fro…
Jul 6, 2020
061b2b8
drm/amd/display: fix dcn3 p_state_change_support validation
Jun 30, 2020
d43027a
drm/amd/display: [FW Promotion] Release 0.0.24
anthony-koo2 Jul 6, 2020
593cd98
drm/amd/display: 3.2.94
AMD-aric Jul 6, 2020
77e22eb
drm/amd/display: Reuse parsing code of debugfs write buffer
Mar 26, 2020
97fb04f
drm/amd/display: handle failed allocation during stream construction
Jul 6, 2020
812c7c1
drm/amd/display: Add missing DCN30 registers and fields for OTG_CRC_C…
Jul 9, 2020
d065154
drm/amd/display: Allow for vblank enabled with no active planes
Jul 13, 2020
ce3997a
drm/amd/display: Fix compilation error on dcn3
rodrigosiqueira Jul 14, 2020
76f43b2
drm/amd/display: remove an unnecessary NULL check
Jul 14, 2020
af24af8
drm/amdgpu: use ARRAY_SIZE() to add amdgpu debugfs files
Jul 13, 2020
5670839
drm/amdgpu/sdma5: fix wptr overwritten in ->get_wptr()
Jul 14, 2020
f979804
drm/amdkfd: fix kernel-doc and cleanup
rajbhar Jul 13, 2020
20a0966
Merge amd-staging-dkms-5.6 into amd-mainline-dkms-5.6
Jul 15, 2020
0220e0f
Bump AMDGPU version to 5.6.11
Jul 15, 2020
2b35d24
drm/amdgpu: add delay before debug trap mask apply
jokim-amd Jul 13, 2020
3266a77
Merge branch 'master' into master
agravgaard Jul 15, 2020
25263ea
drm/amdgpu/powerplay: Target power profile mode should be the second …
Jul 10, 2020
f962ee3
drm/amdgpu/powerplay: Modify SMC message name for setting power profi…
Jul 13, 2020
81a5f33
drm/amd/powerplay: add SMU mode1 reset
wenshengsheng2020 Jul 10, 2020
f414690
drm/amdgpu: RAS emergency restart logic refine
wenshengsheng2020 Jul 13, 2020
824ffad
drm/amdgpu: enable mode1 reset
wenshengsheng2020 Jul 13, 2020
0b0c7f4
drm/amdgpu: add module parameter choose reset mode
wenshengsheng2020 Jul 14, 2020
54c87c2
drm/amd/powerplay: add more members for dpm table
Jun 10, 2020
0d33421
drm/amd/powerplay: implement a common set dpm table API for smu V11
Jul 10, 2020
4e8b274
drm/amd/powerplay: update Arcturus default dpm table setting
Jul 10, 2020
436d32d
drm/amd/powerplay: update Navi10 default dpm table setup
Jun 10, 2020
b043899
drm/amd/powerplay: update Sienna Cichlid default dpm table setup
Jun 10, 2020
715d4bf
drm/amd/powerplay: add new UMD pstate data structure
Jun 10, 2020
787e3b3
drm/amd/powerplay: update UMD pstate clock settings
Jun 10, 2020
f847d05
drm/amd/powerplay: update the common API for performance level setting
Jul 2, 2020
6c08d66
drm/amd/powerplay: drop unnecessary Arcturus specific APIs
Jul 2, 2020
3ab73ab
drm/amd/powerplay: drop unnecessary Navi1x specific APIs
Jul 2, 2020
d42a81c
drm/amd/powerplay: drop unnecessary Sienna Cichlid specific APIs
Jul 2, 2020
40a16c5
drm/amd/powerplay: drop Sienna Cichlid specific set_soft_freq_limited…
Jul 2, 2020
233766e
drm/amd/powerplay: apply gfxoff disablement/enablement for all SMU11 …
Jul 10, 2020
7b469d1
drm/amd/powerplay: drop unnecessary wrappers
Jul 2, 2020
2793d9a
drm/amd/powerplay: drop smu_v12_0.c unnecessary wrapper V2
Jul 2, 2020
6fe7dc0
drm/amd/powerplay: drop unused APIs and parameters
Jul 2, 2020
81a2768
drm/amd/powerplay: drop unnecessary wrapper around pcie parameters se…
Jul 2, 2020
2d4f4c9
drm/amd/powerplay: correct the supported pcie GenSpeed and LaneCount
Jul 3, 2020
5917af8
drm/amd/powerplay: correct Navi1X temperature limit settings
Jul 2, 2020
f9da0ab
drm/amd/powerplay: correct Sienna Cichlid temperature limit settings
Jul 2, 2020
2131f10
drm/amd/powerplay: cache the software_shutdown_temp
Jul 2, 2020
49b7d48
drm/amd/powerplay: sort the call flow on temperature ranges retrieving
Jul 2, 2020
9a07dce
drm/amd/powerplay: maximum the code sharing on thermal irq setting
Jul 2, 2020
46d20da
drm/amd/powerplay: drop unused code around thermal range setting
Jul 2, 2020
1a99d00
drm/amd/sriov skip jped ip block and close pgcg flags
Jun 23, 2020
05d1f04
drm/amdgpu: optimize rlcg write for gfx_v10
Jun 24, 2020
d526f86
drm/amd/sriov add mmsch_v3 interface
Jun 29, 2020
5bda569
drm/amd/sriov porting sriov cap to vcn3.0
Jun 29, 2020
6a6221d
drm/amdgpu: correct ta header v2 ucode init start address
Jul 15, 2020
ad2f2ea
drm/amd/sriov skip vcn powergating and dec_ring_test
Jun 29, 2020
0b70726
drm/amdgpu: expand to add multiple trap event irq id
huangrui Oct 12, 2019
6a44d00
drm/amdgpu: add navy_flounder asic type
Feb 10, 2020
842339d
drm/amdgpu: add navy_flounder gpu info firmware
Feb 10, 2020
8765979
drm/amdgpu: set fw load type for navy_flounder
Feb 10, 2020
a7d23a5
drm/amdgpu: set asic family and ip blocks for navy_flounder
Feb 10, 2020
550a46a
drm/amdgpu/gfx10: add support for navy_flounder firmware
Feb 10, 2020
7b4158f
drm/amdgpu/gmc10: add navy_flounder support
Feb 10, 2020
b576d3c
drm/amdgpu/gfx10: add clockgating support for navy_flounder
Feb 10, 2020
e7f7bbb
drm/amdgpu/soc15: add support for navy_flounder
Feb 10, 2020
829ec52
drm/amdgpu: initialize IP offset for navy_flounder
Feb 11, 2020
1ccc2ae
drm/amdgpu: add support on mmhub for navy_flounder
Feb 12, 2020
4adcfb2
drm/amdgpu: add common ip block for navy_flounder
Feb 12, 2020
d07823c
drm/amdgpu: add gmc ip block for navy_flounder
Feb 12, 2020
b2c0c6c
drm/amdgpu: add ih ip block for navy_flounder
Feb 12, 2020
415ce13
drm/amdgpu: add gfx ip block for navy_flounder
Feb 13, 2020
582d317
drm/amdgpu: add sdma ip block for navy_flounder
Feb 14, 2020
3b67f26
drm/amdgpu: add virtual display support for navy_flounder.
Feb 24, 2020
920d730
drm/amdgpu: configure navy_flounder gfx according to gfx 10.3
Feb 20, 2020
3a39aa1
drm/amdgpu: force pa_sc_tile_steering_override to 0 for navy_flounder
Apr 13, 2020
3c264fa
drm/amdgpu: add gmc cg support for navy_flounder
Apr 13, 2020
1809175
drm/amdgpu/powerplay: add smu support for navy_flounder
Jul 14, 2020
a38b318
drm/amdgpu: add smu block for navy_flounder
Apr 15, 2020
beba9cd
drm/amdgpu: add psp support for navy_flounder
Apr 15, 2020
da38512
drm/amdgpu: add psp block for navy_flounder
Jul 8, 2020
11e5f1f
drm/amdgpu: use front door firmware loading for navy_flounder
Apr 29, 2020
2902983
drm/amdkfd: Support navy_flounder KFD
Jun 2, 2020
fc5137a
drm/amdkfd: Add kfd2kgd_funcs for navy_flounder kfd support
Jun 5, 2020
adcaf93
drm/amdgpu/gfx10: add gc golden setting for navy_flounder
Jun 10, 2020
f14f793
drm/amdgpu: add navy_flounder vcn firmware support
Boyz-Radeon Jun 19, 2020
67f68e6
drm/amdgpu: add vcn ip block for navy_flounder
Boyz-Radeon Jul 8, 2020
515274f
drm/amdgpu: enable cp_fw_write_wait for navy_flounder
Jun 24, 2020
3a3f91d
drm/amdgpu: enable VCN3.0 PG and CG for navy_flounder
Boyz-Radeon Jul 1, 2020
16734a7
drm/amdgpu: enable VCN3.0 DPG for navy_flounder
Boyz-Radeon Jul 1, 2020
93893fe
drm/amdgpu: enable JPEG3.0 PG and CG for navy_flounder
Boyz-Radeon Jul 1, 2020
d82df17
drm/amdgpu: enable GFX clock gating for navy_flounder
Jul 2, 2020
fa4e216
drm/amdgpu: support athub cg setting for navy_flounder
Jul 2, 2020
efc1b91
drm/amd/display: add DC support for navy flounder
Jul 8, 2020
eda02ae
drm/amd/powerplay: set VCN1 pg only for sienna_cichlid
Jul 7, 2020
b8cb000
drm/amdgpu: enable athub/mmhub PG for navy_flounder
Jul 8, 2020
ed39bd0
drm/amdgpu: enable mc CG and LS for navy_flounder
Jul 8, 2020
5e7f996
drm/amdgpu: enable hdp CG and LS for navy_flounder
Jul 8, 2020
392641d
drm/amdgpu: enable ih CG for navy_flounder
Jul 8, 2020
ee058f2
Revert "drm/amdgpu/vcn: add shared memory restore after wake up from …
Jul 16, 2020
1891dce
drm/amdgpu/vcn: merge shared memory into vcpu
Jul 16, 2020
1f9101d
Merge amd-staging-dkms-5.6 into amd-mainline-dkms-5.6
Jul 21, 2020
3927346
Bump AMDGPU version to 5.6.12
Jul 21, 2020
80b0140
Merge branch 'master' into master
agravgaard Aug 26, 2020
e96c246
drm/amdkfd: send per queue invalid status to debugger on suspend/resume
jokim-amd May 1, 2020
3f928a1
drm/amdkfd: Provide SMI events watch
ascollard May 13, 2020
975c097
drm/amdgpu: Use GEM obj reference for KFD BOs
fxkamd May 5, 2020
20de73e
drm/amdkcl: Add wrap for drm_gem_object_get
May 7, 2020
5f90f0a
drm/amdkfd: Fix a race condition getting IPC obj handle reference
fxkamd May 1, 2020
80ab6ef
drm/amdkcl: fix intree failure due to vmf->vma kcl wrapper
Apr 29, 2020
92f70ff
drm/dkms: convert hardcoded list of OS names into a default case
agravgaard Jun 14, 2020
d4d9afa
Merge branch 'pci/resource'
bjorn-helgaas Apr 2, 2020
6c0d573
amd/amdkcl: avoid kallsyms_lookup_name for 5.7+
agravgaard Jun 15, 2020
df4d0c4
amd/amdkcl: replace kallsyms_lookup_name for 5.7.0+
agravgaard Jun 15, 2020
33f3e3c
drm/amdgpu: Fix a buffer overflow handling the serial number
Jun 10, 2020
f6ab2d0
Merge branch 'master' of https://github.com/agravgaard/ROCK-Kernel-Dr…
agravgaard Aug 26, 2020
6f56656
Add support for new mmap API in 5.8+
agravgaard Aug 26, 2020
b80460d
Renamed flag in 5.8+
agravgaard Aug 26, 2020
1d3ef1f
typo: mm should be the vm_mm member
agravgaard Aug 26, 2020
10e3e5c
Add support for new mmap API in 5.8+
agravgaard Aug 26, 2020
4d83059
Renamed i2c new device function in 5.8+
agravgaard Aug 26, 2020
389e4e0
Renamed (un)use_mm for 5.8+
agravgaard Aug 27, 2020
1b3a0e0
Add support for new mmap API in 5.8+
agravgaard Aug 27, 2020
af95801
Renamed (un)use_mm for 5.8+
agravgaard Aug 27, 2020
e7d2006
Add support for new mmap API in 5.8+
agravgaard Aug 27, 2020
4c2793c
Add support for new mmap API in 5.8+
agravgaard Aug 27, 2020
917f88c
destroy_connector does not exist in 5.8+
agravgaard Aug 27, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 6 additions & 3 deletions Documentation/gpu/amdgpu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,14 @@ pp_power_profile_mode
.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
:doc: pp_power_profile_mode

busy_percent
~~~~~~~~~~~~
*_busy_percent
~~~~~~~~~~~~~~

.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
:doc: busy_percent
:doc: gpu_busy_percent

.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
:doc: mem_busy_percent

GPU Product Information
=======================
Expand Down
1 change: 0 additions & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -13952,7 +13952,6 @@ F: drivers/net/wireless/quantenna
RADEON and AMDGPU DRM DRIVERS
M: Alex Deucher <alexander.deucher@amd.com>
M: Christian König <christian.koenig@amd.com>
M: David (ChunMing) Zhou <David1.Zhou@amd.com>
L: amd-gfx@lists.freedesktop.org
T: git git://people.freedesktop.org/~agd5f/linux
S: Supported
Expand Down
14 changes: 10 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ $(lastword $(MAKEFILE_LIST)): ;
endif

export abs_srctree abs_objtree
export sub_make_done := 1
export override sub_make_done := 1

ifeq ($(need-sub-make),1)

Expand All @@ -177,7 +177,7 @@ $(filter-out _all sub-make $(lastword $(MAKEFILE_LIST)), $(MAKECMDGOALS)) _all:

# Invoke a second make in the output directory, passing relevant variables
sub-make:
$(Q)$(MAKE) -C $(abs_objtree) -f $(abs_srctree)/Makefile $(MAKECMDGOALS)
$(Q)$(MAKE) -C $(abs_objtree) -f $(abs_srctree)/Makefile $(MAKECMDGOALS) sub_make_done=$(sub_make_done)

endif # need-sub-make
endif # sub_make_done
Expand Down Expand Up @@ -1153,9 +1153,15 @@ define filechk_utsrelease.h
endef

define filechk_version.h
echo \#define LINUX_VERSION_CODE $(shell \
(echo \#define LINUX_VERSION_CODE $(shell \
expr $(VERSION) \* 65536 + 0$(PATCHLEVEL) \* 256 + 0$(SUBLEVEL)); \
echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))'
echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))'; \
echo '#define DRM_VER $(VERSION)'; \
echo '#define DRM_PATCH $(PATCHLEVEL)'; \
echo '#define DRM_SUB $(SUBLEVEL)'; \
echo \#define DRM_VERSION_CODE $(shell \
expr $(VERSION) \* 65536 + 0$(PATCHLEVEL) \* 256 + 0$(SUBLEVEL)); \
echo '#define DRM_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';)
endef

$(version_h): FORCE
Expand Down
52 changes: 20 additions & 32 deletions arch/alpha/kernel/sys_nautilus.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,6 @@ nautilus_machine_check(unsigned long vector, unsigned long la_ptr)

extern void pcibios_claim_one_bus(struct pci_bus *);

static struct resource irongate_io = {
.name = "Irongate PCI IO",
.flags = IORESOURCE_IO,
};
static struct resource irongate_mem = {
.name = "Irongate PCI MEM",
.flags = IORESOURCE_MEM,
Expand All @@ -208,77 +204,69 @@ nautilus_init_pci(void)
struct pci_controller *hose = hose_head;
struct pci_host_bridge *bridge;
struct pci_bus *bus;
struct pci_dev *irongate;
unsigned long bus_align, bus_size, pci_mem;
unsigned long memtop = max_low_pfn << PAGE_SHIFT;
int ret;

bridge = pci_alloc_host_bridge(0);
if (!bridge)
return;

/* Use default IO. */
pci_add_resource(&bridge->windows, &ioport_resource);
pci_add_resource(&bridge->windows, &iomem_resource);
/* Irongate PCI memory aperture, calculate requred size before
setting it up. */
pci_add_resource(&bridge->windows, &irongate_mem);

pci_add_resource(&bridge->windows, &busn_resource);
bridge->dev.parent = NULL;
bridge->sysdata = hose;
bridge->busnr = 0;
bridge->ops = alpha_mv.pci_ops;
bridge->swizzle_irq = alpha_mv.pci_swizzle;
bridge->map_irq = alpha_mv.pci_map_irq;
bridge->size_windows = 1;

/* Scan our single hose. */
ret = pci_scan_root_bus_bridge(bridge);
if (ret) {
if (pci_scan_root_bus_bridge(bridge)) {
pci_free_host_bridge(bridge);
return;
}

bus = hose->bus = bridge->bus;
pcibios_claim_one_bus(bus);

irongate = pci_get_domain_bus_and_slot(pci_domain_nr(bus), 0, 0);
bus->self = irongate;
bus->resource[0] = &irongate_io;
bus->resource[1] = &irongate_mem;

pci_bus_size_bridges(bus);

/* IO port range. */
bus->resource[0]->start = 0;
bus->resource[0]->end = 0xffff;

/* Set up PCI memory range - limit is hardwired to 0xffffffff,
base must be at aligned to 16Mb. */
bus_align = bus->resource[1]->start;
bus_size = bus->resource[1]->end + 1 - bus_align;
/* Now we've got the size and alignment of PCI memory resources
stored in irongate_mem. Set up the PCI memory range: limit is
hardwired to 0xffffffff, base must be aligned to 16Mb. */
bus_align = irongate_mem.start;
bus_size = irongate_mem.end + 1 - bus_align;
if (bus_align < 0x1000000UL)
bus_align = 0x1000000UL;

pci_mem = (0x100000000UL - bus_size) & -bus_align;
irongate_mem.start = pci_mem;
irongate_mem.end = 0xffffffffUL;

bus->resource[1]->start = pci_mem;
bus->resource[1]->end = 0xffffffffUL;
if (request_resource(&iomem_resource, bus->resource[1]) < 0)
/* Register our newly calculated PCI memory window in the resource
tree. */
if (request_resource(&iomem_resource, &irongate_mem) < 0)
printk(KERN_ERR "Failed to request MEM on hose 0\n");

printk(KERN_INFO "Irongate pci_mem %pR\n", &irongate_mem);

if (pci_mem < memtop)
memtop = pci_mem;
if (memtop > alpha_mv.min_mem_address) {
free_reserved_area(__va(alpha_mv.min_mem_address),
__va(memtop), -1, NULL);
printk("nautilus_init_pci: %ldk freed\n",
printk(KERN_INFO "nautilus_init_pci: %ldk freed\n",
(memtop - alpha_mv.min_mem_address) >> 10);
}

if ((IRONGATE0->dev_vendor >> 16) > 0x7006) /* Albacore? */
IRONGATE0->pci_mem = pci_mem;

pci_bus_assign_resources(bus);

/* pci_common_swizzle() relies on bus->self being NULL
for the root bus, so just clear it. */
bus->self = NULL;
pci_bus_add_devices(bus);
}

Expand Down
Loading