Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-03-21 | drm/amd/powerplay: update ppatomfwctl (v2) | Evan Quan | 2 | -0/+152 | |
Add new get_smc_dpm_information api to fetch the smu dpm info from the vbios. v2: deal with updated table format. Acked-by: Christian König <[email protected]> Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-21 | drm/amd/powerplay: add vega12_pptable.h | Evan Quan | 1 | -0/+109 | |
Defines the power table format in the vbios. Acked-by: Christian König <[email protected]> Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-21 | drm/amd/powerplay: add vega12_ppsmc.h | Evan Quan | 1 | -0/+123 | |
Defines the smc message interface with the driver. Acked-by: Christian König <[email protected]> Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-21 | drm/amd/powerplay: add new smu9_driver_if.h for vega12 (v2) | Evan Quan | 1 | -0/+758 | |
Add driver firmware interface header. v2: squash in interface updates. Acked-by: Christian König <[email protected]> Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-21 | drm/amd/powerplay: update atomfirmware.h (v2) | Evan Quan | 1 | -1/+81 | |
Add new smu_info table. v2: update table format. Acked-by: Christian König <[email protected]> Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-21 | drm/amd/powerplay: add vega12_inc.h | Evan Quan | 1 | -0/+39 | |
Used for the powerplay implementation. Acked-by: Christian König <[email protected]> Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-21 | drm/amdgpu/soc15: initialize reg base for vega12 | Hawking Zhang | 1 | -0/+1 | |
Initialize the IP offsets for vega12. Acked-by: Christian König <[email protected]> Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-21 | drm/amd/soc15: Add external_rev_id for vega12. | Feifei Xu | 1 | -1/+1 | |
Add external_rev_id for vega12. Acked-by: Christian König <[email protected]> Signed-off-by: Feifei Xu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-21 | drm/amdgpu/soc15: update vega12 cg_flags | Evan Quan | 1 | -1/+18 | |
Add the appropriate clockgating flags for vega12 Acked-by: Christian König <[email protected]> Signed-off-by: Evan Quan <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-21 | drm/amdgpu/soc15: add support for vega12 | Alex Deucher | 1 | -0/+7 | |
Add the IP blocks, clock and powergating flags, and common clockgating support. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu/gfx9: add golden setting for vega12 (v3) | Hawking Zhang | 1 | -2/+42 | |
Add gfx9_2_1 golden setting. v2: switch to soc15_program_register_sequence for golden setting programming v3: squash in additional golden updates Acked-by: Christian König <[email protected]> Signed-off-by: Feifei Xu <[email protected]> Reviewed-by: Ken Wang <[email protected]> Signed-off-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-21 | drm/amdgpu/gfx9: add clockgating support for vega12 | Alex Deucher | 1 | -0/+1 | |
Same as vega10 and raven. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu/gfx9: add support for vega12 | Alex Deucher | 1 | -0/+2 | |
Same as vega10 and raven. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu/gfx9: add gfx config for vega12 | Alex Deucher | 1 | -0/+9 | |
Just a place holder for now. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu/gfx9: Add placeholder for vega12 golden settings | Alex Deucher | 1 | -0/+3 | |
Fill these in when we get them. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu/gfx9: add support for vega12 firmware | Alex Deucher | 1 | -0/+10 | |
Declare and fetch the appriopriate files. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu/sdma4: Update vega12 sdma golden setting. | Feifei Xu | 1 | -4/+4 | |
Update vega12 sdma golden setting. Acked-by: Christian König <[email protected]> Signed-off-by: Feifei Xu <[email protected]> Reviewed-by: Ken Wang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-21 | drm/amdgpu/sdma4: add sdma4_0_1 support for vega12 (v3) | Hawking Zhang | 1 | -3/+15 | |
Add sdma golden setting for vega12. v2: switch to soc15_program_register_sequence for golden register programming v3: squash in unused declaration fix Acked-by: Christian König <[email protected]> Signed-off-by: Feifei Xu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-21 | drm/amdgpu/sdma4: add clockgating support for vega12 | Alex Deucher | 1 | -0/+1 | |
Same as vega10 for now. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu/sdma4: Add placeholder for vega12 golden settings | Alex Deucher | 1 | -0/+3 | |
Fill these in when we get them. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu/sdma4: specify vega12 firmware | Alex Deucher | 1 | -0/+5 | |
Declare the firmware and fetch the proper file. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu/mmhub: add clockgating support for vega12 | Alex Deucher | 1 | -0/+1 | |
Treat it the same as vega10 for now. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu/gmc9: add vega12 support (v2) | Alex Deucher | 1 | -0/+4 | |
Same as vega10. v2: squash in golden regs fix from Feifei Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-22 | Merge tag 'drm-misc-next-2018-03-21' of ↵ | Dave Airlie | 85 | -642/+2218 | |
git://anongit.freedesktop.org/drm/drm-misc into drm-next drm-misc-next for 4.17: Cross-subsystem Changes: dt-bindings: Add emtrion vendor prefix (Jan) Core Changes: drm_print: More object size reductions (Joe) Driver Changes: vc4: Fix alpha blending on bottom plane (Stefan) panel: Add Raydium RM68200 panel support (Phillipe) panel: Add AUO G104SN02 V2 panel support (Christoph) panel: Add KEO TX31D200VM0BAA panel support (Jagan) vga_switcheroo: Use device link to bookkeep HDA runtime pm (Lukas) rockchip: More CrOS kevin patches trickling in (various sun4i: Add A80 support (Chen-Yu) sun4i: Add YUV plane support (Maxime) meson: Multiple (mostly error-path) fixups (Christophe/Wei) Cc: Stefan Schake <[email protected]> Cc: Philippe CORNU <[email protected]> Cc: [email protected] Cc: Christoph Fritz <[email protected]> Cc: Jagan Teki <[email protected]> Cc: Lukas Wunner <[email protected]> Cc: Joe Perches <[email protected]> Cc: Chen-Yu Tsai <[email protected]> Cc: Christophe JAILLET <[email protected]> Cc: Wei Yongjun <[email protected]> * tag 'drm-misc-next-2018-03-21' of git://anongit.freedesktop.org/drm/drm-misc: (70 commits) drm/qxl: Replace drm_gem_object_reference/unreference() with _get/put() drm/meson: Fix potential NULL dereference in meson_drv_bind_master() drm/sun4i: backend: Support YUV planes drm/sun4i: backend: Check that we only have a single YUV plane drm/sun4i: Add driver support for A80 display pipeline drm/sun4i: Add compatible strings for the A80 display pipeline drm/sun4i: Add support for A80 TCONs drm/sun4i: Add DT binding for Detail Enhancement Unit in Allwinner A80 SoC drm/sun4i: Add compatible strings for A80 TCONs drm: Reduce object size of DRM_DEV_<LEVEL> uses drm/doc: Put all driver docs into a separate chapter drm: dma_bufs: Fixed checkpatch issues drm: remove drm_mode_object_{un/reference} aliases drm: Add PSR version 3 macro drm/vc4_validate: Remove VLA usage drm: Make drm_mode_vrefresh() a bit more accurate drm: Nuke the useless 'ret' variable from drm_mode_convert_umode() drm/i915: Use drm_color_lut_size() drm/i915: Remove the blob->data casts drm: Introduce drm_color_lut_size() ... | |||||
2018-03-21 | drm/amdgpu: add vega12 to dc support check | Alex Deucher | 1 | -0/+1 | |
DC is used for modesetting on vega12. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amd/display: Add bios firmware info version for VG12 | Jerry (Fangzhi) Zuo | 1 | -0/+1 | |
VG12 shows minor revision version of 2 which is not handled in bios_parser_get_firmware_info() routine. Acked-by: Christian König <[email protected]> Signed-off-by: Jerry (Fangzhi) Zuo <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-21 | drm/amd/display/dm: add vega12 support | Alex Deucher | 1 | -0/+4 | |
Add support for vega12 to the display manager. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu/virtual_dce: add vega12 support | Alex Deucher | 1 | -0/+1 | |
Add virtual dce support for vega12. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu: specify vega12 vce firmware | Alex Deucher | 1 | -2/+7 | |
Declare firmware and add support for the file. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu: specify vega12 uvd firmware | Alex Deucher | 1 | -2/+7 | |
Declare firmware and add support for the file. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu: add vega12 ucode loading method | Feifei Xu | 1 | -0/+1 | |
Same as vega10. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> Signed-off-by: Hawking Zhang <[email protected]> | |||||
2018-03-21 | drm/amdgpu: initilize vega12 psp firmwares | Evan Quan | 1 | -0/+3 | |
Acked-by: Christian König <[email protected]> Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Feifei Xu <[email protected]> Acked-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-21 | drm/amdgpu/psp: initial vega12 support | Alex Deucher | 2 | -0/+3 | |
Same as vega10 for now. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu: vega12 to smu firmware | Hawking Zhang | 2 | -0/+4 | |
Add the cgs interface to query the smu firmware for vega12 and declare the firmware. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Hawking Zhang <[email protected]> | |||||
2018-03-21 | drm/amdgpu: set asic family and ip blocks for vega12 | Alex Deucher | 1 | -2/+3 | |
soc15 just like vega10 and raven. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu: add gpu_info firmware for vega12 | Alex Deucher | 1 | -0/+4 | |
Stores gpu configuration details. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Feifei Xu <[email protected]> | |||||
2018-03-21 | drm/amdgpu: add vega12 to asic_type enum | Feifei Xu | 2 | -0/+2 | |
Add vega12 to amd_asic_type enum and amdgpu_asic_name[]. Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Hawking Zhang <[email protected]> | |||||
2018-03-21 | drm/amd/include: Add ip header files for vega12. | Feifei Xu | 6 | -0/+52499 | |
Add ip header files for IPs with a delta for vg12: GC, MMHUB, OSS Acked-by: Christian König <[email protected]> Signed-off-by: Feifei Xu <[email protected]> Reviewed-By: Ken Wang <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-21 | Merge tag 'gvt-next-fixes-2018-03-20' of https://github.com/intel/gvt-linux ↵ | Joonas Lahtinen | 6 | -12/+82 | |
into drm-intel-next-fixes gvt-next-fixes-2018-03-20 - No need warning on untracked regs (Colin) - Error handling fix for dma unmap (Changbin) - invalidate shadow ppgtt for vGPU reset (Zhi) - ensure to update shadow ppgtt after pinned (Zhi) - force guest ctx ctrl update for sanity (Zhenyu/Xiong) - one typo fix (Colin) Signed-off-by: Joonas Lahtinen <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] | |||||
2018-03-21 | Merge airlied/drm-next into drm-misc-next | Sean Paul | 763 | -33627/+68429 | |
Refresh -misc-next Signed-off-by: Sean Paul <[email protected]> | |||||
2018-03-21 | drm/qxl: Replace drm_gem_object_reference/unreference() with _get/put() | Santha Meena Ramamoorthy | 6 | -12/+12 | |
Replace drm_gem_object_reference/unreference function with *_get/put() suffixes, because it is shorter and consistent with the kernel kref_get/put() functions. The following Coccinelle script was used: @@ expression e; @@ ( -drm_gem_object_reference(e); +drm_gem_object_get(e); | -drm_gem_object_unreference(e); +drm_gem_object_put(e); | -drm_gem_object_unreference_unlocked(e); +drm_gem_object_put_unlocked(e); ) Signed-off-by: Santha Meena Ramamoorthy <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] | |||||
2018-03-20 | drm/amd/pp: Fix unable to handle kernel paging request | Rex Zhu | 1 | -1/+1 | |
when set pp table Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-20 | drm/amd/pp: Fix gfx ring test failed on Fiji without hw avfs support | Rex Zhu | 2 | -2/+7 | |
caused by 'commit ca82cec868d1 ("drm/amd/pp: Simplified the avfs btc state on smu7")' Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-20 | drm/amdgpu: Fix kernel NULL pointer dereference in dpm functions | Rex Zhu | 3 | -0/+3 | |
caused by 'commit 83e3c4615872 ("drm/amdgpu: Remove wrapper layer of smu ip functions")' BUG: unable to handle kernel NULL pointer dereference at 00000000000005d8 [ 313.241459] IP: ci_dpm_read_sensor+0x37/0xf0 [amdgpu] Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-20 | drm/amdgpu: Fix kernel NULL pointer dereference when amdgpu fini | Rex Zhu | 2 | -1/+3 | |
Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-20 | drm/amdgpu - Disable all irqs before disabling all CRTCs | Mikita Lipski | 1 | -3/+2 | |
By moving amdgpu_irq_disable_all earlier in the sequence fixes an issue with disabling pflip interrupts: *ERROR* dal_irq_service_dummy_ack: called for non-implemented irq source Earlier patch fixed a memory corruption and revealed irq warnings.This way it seems to be there no obvious issues with unloading the module. Signed-off-by: Mikita Lipski <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-20 | drm/amdgpu: Disable irq on device before destroying it | Mikita Lipski | 1 | -2/+3 | |
Disable irq on devices before destroying them. That prevents use-after-free memory access when unloading the driver. Signed-off-by: Mikita Lipski <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-20 | drm/amdgpu: Use atomic function to disable crtcs with dc enabled | Mikita Lipski | 1 | -3/+6 | |
This change fixes the deadlock when unloading the driver with displays connected. Signed-off-by: Mikita Lipski <[email protected]> Reviewed-by: Andrey Grodzovsky <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-20 | drm/amd/amdgpu: fix offset into page with amdgpu_iomem debugfs file | Tom St Denis | 1 | -2/+2 | |
The offset inside the page wasn't included in the copy call meaning the start of the page was being read/written instead. Reported-by: Jay Cornwall <[email protected]> Signed-off-by: Tom St Denis <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> | |||||
2018-03-20 | drm/amdgpu/nbio6: Correct PCIE_INDEX/DATA pair used for smn register accessing | Hawking Zhang | 1 | -2/+2 | |
PCIE_INDEX2/DATA2 pair will be used for smn register accessing since from vega. PCIE_INDEX/DATA pair should be reserved for smu Signed-off-by: Hawking Zhang <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> |