linux_dsm_epyc7002/drivers/gpu/drm
Jordan Crouse abccb9fe32 drm/msm/a6xx: Add zap shader load
The a6xx GPU powers on in secure mode which restricts what memory it can
write to. To get out of secure mode the GPU driver can write to
REG_A6XX_RBBM_SECVID_TRUST_CNTL but on targets that are "secure" that
register region is blocked and writes will cause the system to go down.

For those targets we need to execute a special sequence that involves
loadinga special shader that clears the GPU registers and use a PM4
sequence to pull the GPU out of secure. Add support for loading the zap
shader and executing the secure sequence. For targets that do not support
SCM or the specific SCM sequence this should fail and we would fall back
to writing the register.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
2019-04-21 07:37:17 -07:00
..
amd drm/amdgpu: remove unnecessary rlc reset function on gfx9 2019-04-02 16:23:16 -05:00
arc
arm
armada
ast
atmel-hlcdc
bochs
bridge drm next pull request for 5.1 2019-03-08 08:23:15 -08:00
cirrus
etnaviv Merge branch 'etnaviv/next' of https://git.pengutronix.de/git/lst/linux into drm-next 2019-03-12 15:20:57 +10:00
exynos drm/exynos/mixer: fix MIXER shadow registry synchronisation code 2019-03-21 09:47:29 +09:00
fsl-dcu
gma500
hisilicon
i2c
i810
i915 Merge tag 'gvt-fixes-2019-04-04' of https://github.com/intel/gvt-linux into drm-intel-fixes 2019-04-03 18:00:42 -07:00
imx
lib
mediatek
meson drm/meson: fix TMDS clock filtering for DMT monitors 2019-03-25 11:19:50 +01:00
mga
mgag200
msm drm/msm/a6xx: Add zap shader load 2019-04-21 07:37:17 -07:00
mxsfb
nouveau Merge branch 'linux-5.1' of git://github.com/skeggsb/linux into drm-fixes 2019-03-22 10:39:35 +10:00
omapdrm
panel
pl111
qxl - qxl: Remove the conflicting framebuffers earlier 2019-03-14 11:37:46 +10:00
r128
radeon
rcar-du
rockchip drm/rockchip: vop: reset scale mode when win is disabled 2019-03-18 18:58:12 +01:00
savage
scheduler
selftests
shmobile
sis
sti
stm
sun4i
tdfx
tegra drm/tegra: vic: Fix implicit function declaration warning 2019-03-22 14:08:55 +01:00
tilcdc
tinydrm
ttm
tve200
udl drm/udl: Refactor edid retrieving in UDL driver (v2) 2019-03-25 15:58:15 +10:00
v3d
vc4
vgem drm/vgem: fix use-after-free when drm_gem_handle_create() fails 2019-03-18 08:45:57 +01:00
via
virtio
vkms drm/vkms: fix use-after-free when drm_gem_handle_create() fails 2019-03-18 08:45:57 +01:00
vmwgfx Merge branch 'vmwgfx-fixes-5.1' of git://people.freedesktop.org/~thomash/linux into drm-fixes 2019-03-22 11:53:36 +10:00
xen
zte
ati_pcigart.c
drm_agpsupport.c
drm_atomic_helper.c - Properly mark the ptr_to_compat argument with the __user tag 2019-03-12 14:57:14 +10:00
drm_atomic_state_helper.c
drm_atomic_uapi.c
drm_atomic.c
drm_auth.c
drm_blend.c
drm_bridge.c
drm_bufs.c
drm_cache.c
drm_client.c
drm_color_mgmt.c
drm_connector.c
drm_context.c
drm_crtc_helper_internal.h
drm_crtc_helper.c
drm_crtc_internal.h
drm_crtc.c
drm_damage_helper.c
drm_debugfs_crc.c
drm_debugfs.c
drm_dma.c
drm_dp_aux_dev.c
drm_dp_cec.c
drm_dp_dual_mode_helper.c
drm_dp_helper.c
drm_dp_mst_topology.c
drm_drv.c drm: Fix drm_release() and device unplug 2019-03-25 15:58:05 +10:00
drm_dsc.c
drm_dumb_buffers.c
drm_edid_load.c
drm_edid.c
drm_encoder_slave.c
drm_encoder.c
drm_fb_cma_helper.c
drm_fb_helper.c drm/fb: avoid setting 0 depth. 2019-03-25 09:25:20 +10:00
drm_file.c drm: Fix drm_release() and device unplug 2019-03-25 15:58:05 +10:00
drm_flip_work.c
drm_fourcc.c
drm_framebuffer.c
drm_gem_cma_helper.c
drm_gem_framebuffer_helper.c
drm_gem.c
drm_hashtab.c
drm_internal.h
drm_ioc32.c
drm_ioctl.c
drm_irq.c
drm_kms_helper_common.c
drm_lease.c
drm_legacy.h
drm_lock.c
drm_memory.c
drm_mipi_dsi.c
drm_mm.c
drm_mode_config.c
drm_mode_object.c
drm_modes.c
drm_modeset_helper.c
drm_modeset_lock.c
drm_of.c
drm_panel_orientation_quirks.c
drm_panel.c
drm_pci.c
drm_plane_helper.c
drm_plane.c
drm_prime.c
drm_print.c
drm_probe_helper.c
drm_property.c
drm_rect.c
drm_scatter.c
drm_scdc_helper.c
drm_simple_kms_helper.c
drm_syncobj.c
drm_sysfs.c
drm_trace_points.c
drm_trace.h
drm_vblank.c
drm_vm.c
drm_vma_manager.c
drm_writeback.c
Kconfig
Makefile