linux-stable/drivers/gpu/drm
Chris Wilson 2e21de9028 drm/i915: Sanitycheck device iomem on probe
As we setup the memory regions for the device, give each a quick test to
verify that we can read and write to the full iomem range. This ensures
that our physical addressing for the device's memory is correct, and
some reassurance that the memory is functional.

v2: wrapper for memtest [Chris]

v3: Removed the unused ptr i915 [Chris]

v4: used the %pa for the resource_size_t.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211209162620.5218-1-ramalingam.c@intel.com
2021-12-14 15:08:20 +05:30
..
amd drm-misc-next for 5.17: 2021-11-23 09:38:55 +10:00
arm
armada Char/Misc driver update for 5.16-rc1 2021-11-04 08:21:47 -07:00
aspeed
ast Linux 5.15-rc7 2021-10-28 14:59:38 +10:00
atmel-hlcdc
bridge drm/bridge: parade-ps8640: Fix additional suspend/resume at bootup 2021-11-17 08:45:28 -08:00
etnaviv Merge drm/drm-next into drm-misc-next 2021-11-18 09:36:39 +01:00
exynos dma-buf: move dma-buf symbols into the DMA_BUF module namespace 2021-10-25 14:53:08 +02:00
fsl-dcu
gma500 drm/gma500: Remove generic DRM drivers in probe function 2021-10-21 09:32:51 +02:00
gud drm/format-helper: Rework format-helper conversion functions 2021-11-11 12:06:57 +01:00
hisilicon drm/kirin: dsi: Adjust probe order 2021-10-27 22:07:58 +02:00
hyperv Merge drm/drm-next into drm-misc-next 2021-11-18 09:36:39 +01:00
i2c
i810
i915 drm/i915: Sanitycheck device iomem on probe 2021-12-14 15:08:20 +05:30
imx Revert "drm/imx: Annotate dma-fence critical section in commit path" 2021-11-05 19:08:44 +01:00
ingenic drm/ingenic: Remove bogus register write 2021-10-30 21:02:36 +01:00
kmb Merge drm/drm-next into drm-misc-next 2021-11-18 09:36:39 +01:00
lib
lima drm/shmem-helper: Pass GEM shmem object in public interfaces 2021-11-15 11:46:13 +01:00
mcde
mediatek ARM: SoC drivers for 5.16 2021-11-03 17:00:52 -07:00
meson drm/meson: encoder_cvbs: switch to bridge with ATTACH_NO_CONNECTOR 2021-11-12 10:10:01 +01:00
mga
mgag200 drm/format-helper: Rework format-helper memcpy functions 2021-11-11 12:06:57 +01:00
msm Merge drm/drm-next into drm-misc-next 2021-11-18 09:36:39 +01:00
mxsfb drm-misc-next for 5.16: 2021-11-05 13:50:15 +10:00
nouveau drm-misc-next for 5.17: 2021-11-23 09:38:55 +10:00
omapdrm Merge drm/drm-next into drm-misc-next 2021-11-18 09:36:39 +01:00
panel Merge drm/drm-next into drm-misc-next 2021-11-18 09:36:39 +01:00
panfrost drm/shmem-helper: Pass GEM shmem object in public interfaces 2021-11-15 11:46:13 +01:00
pl111
qxl
r128 Linux 5.15-rc7 2021-10-28 14:59:38 +10:00
radeon Merge drm/drm-next into drm-misc-next 2021-11-18 09:36:39 +01:00
rcar-du
rockchip Merge drm/drm-next into drm-misc-next 2021-11-18 09:36:39 +01:00
savage
scheduler drm-misc-next for 5.17: 2021-11-23 09:38:55 +10:00
selftests drm/i915/selftests: Properly reset mock object propers for each test 2021-10-22 11:09:45 +02:00
shmobile
sis
sti
stm
sun4i drm-misc-next for 5.17: 2021-11-23 09:38:55 +10:00
tdfx
tegra Char/Misc driver update for 5.16-rc1 2021-11-04 08:21:47 -07:00
tidss drm/tidss: Make use of the helper macro SET_RUNTIME_PM_OPS() 2021-11-10 13:51:26 +02:00
tilcdc drm: Remove redundant 'flush_workqueue()' calls 2021-10-15 16:48:51 -07:00
tiny drm/simpledrm: Support virtual screen sizes 2021-11-11 12:06:58 +01:00
ttm Merge drm/drm-next into drm-misc-next 2021-11-18 09:36:39 +01:00
tve200
udl drm/udl: fix control-message timeout 2021-11-05 11:15:14 +01:00
v3d drm/shmem-helper: Pass GEM shmem object in public interfaces 2021-11-15 11:46:13 +01:00
vboxvideo
vc4 Merge drm/drm-next into drm-misc-next 2021-11-18 09:36:39 +01:00
vgem
via
virtio Merge drm/drm-next into drm-misc-next 2021-11-18 09:36:39 +01:00
vkms
vmwgfx drm next/fixes for 5.16-rc1 2021-11-12 12:11:07 -08:00
xen drm/xen: Implement mmap as GEM object function 2021-11-11 12:06:57 +01:00
xlnx
drm_agpsupport.c
drm_aperture.c
drm_atomic.c
drm_atomic_helper.c
drm_atomic_state_helper.c
drm_atomic_uapi.c
drm_auth.c
drm_blend.c
drm_bridge.c
drm_bridge_connector.c
drm_bufs.c
drm_cache.c
drm_client.c
drm_client_modeset.c
drm_color_mgmt.c
drm_connector.c drm/connector: use drm_sysfs_connector_hotplug_event 2021-11-02 14:27:11 +01:00
drm_context.c
drm_crtc.c
drm_crtc_helper.c
drm_crtc_helper_internal.h
drm_crtc_internal.h
drm_damage_helper.c
drm_debugfs.c
drm_debugfs_crc.c
drm_displayid.c
drm_dma.c
drm_dp_aux_bus.c
drm_dp_aux_dev.c
drm_dp_cec.c
drm_dp_dual_mode_helper.c
drm_dp_helper.c drm/dp, drm/i915: Add support for VESA backlights using PWM for brightness control 2021-11-17 17:36:48 -05:00
drm_dp_mst_topology.c Merge branch 'akpm' (patches from Andrew) 2021-11-09 10:11:53 -08:00
drm_dp_mst_topology_internal.h
drm_drv.c
drm_dsc.c
drm_dumb_buffers.c
drm_edid.c Linux 5.15-rc7 2021-10-28 14:59:38 +10:00
drm_edid_load.c
drm_encoder.c
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c Merge drm/drm-next into drm-misc-next 2021-11-18 09:36:39 +01:00
drm_file.c
drm_flip_work.c
drm_format_helper.c drm/format-helper: Streamline blit-helper interface 2021-11-11 12:06:57 +01:00
drm_fourcc.c drm: Add R10 and R12 FourCC 2021-10-28 17:20:45 +10:00
drm_framebuffer.c
drm_gem.c
drm_gem_atomic_helper.c drm: use new iterator in drm_gem_plane_helper_prepare_fb v3 2021-10-25 09:33:22 +02:00
drm_gem_cma_helper.c drm-misc-next for 5.17: 2021-11-23 09:38:55 +10:00
drm_gem_framebuffer_helper.c dma-buf: move dma-buf symbols into the DMA_BUF module namespace 2021-10-25 14:53:08 +02:00
drm_gem_shmem_helper.c Merge drm/drm-next into drm-misc-next 2021-11-18 09:36:39 +01:00
drm_gem_ttm_helper.c
drm_gem_vram_helper.c
drm_hashtab.c
drm_hdcp.c
drm_internal.h
drm_ioc32.c
drm_ioctl.c
drm_irq.c drm: Build drm_irq.o only if CONFIG_DRM_LEGACY has been set 2021-10-22 16:20:12 +02:00
drm_kms_helper_common.c
drm_lease.c
drm_legacy.h
drm_legacy_misc.c
drm_lock.c
drm_managed.c
drm_memory.c
drm_mipi_dbi.c drm/format-helper: Rework format-helper conversion functions 2021-11-11 12:06:57 +01:00
drm_mipi_dsi.c
drm_mm.c lib, stackdepot: add helper to print stack entries into buffer 2021-11-09 10:02:50 -08:00
drm_mode_config.c
drm_mode_object.c
drm_modes.c
drm_modeset_helper.c
drm_modeset_lock.c Removed the TTM Huge Page functionnality to address a crash, a timeout 2021-11-11 08:14:19 +10:00
drm_of.c
drm_panel.c
drm_panel_orientation_quirks.c Linux 5.15 2021-11-12 09:23:16 +10:00
drm_pci.c
drm_plane.c
drm_plane_helper.c
drm_prime.c drm next/fixes for 5.16-rc1 2021-11-12 12:11:07 -08:00
drm_print.c
drm_privacy_screen.c
drm_privacy_screen_x86.c
drm_probe_helper.c drm/probe-helper: use drm_kms_helper_connector_hotplug_event 2021-11-02 14:27:14 +01:00
drm_property.c
drm_rect.c
drm_scatter.c
drm_scdc_helper.c
drm_self_refresh_helper.c
drm_simple_kms_helper.c
drm_syncobj.c
drm_sysfs.c drm/sysfs: introduce drm_sysfs_connector_hotplug_event 2021-11-02 14:27:06 +01:00
drm_trace.h
drm_trace_points.c
drm_vblank.c
drm_vblank_work.c
drm_vm.c
drm_vma_manager.c
drm_writeback.c
Kconfig Merge drm/drm-next into drm-misc-next 2021-11-18 09:36:39 +01:00
Makefile drm: Link CMA framebuffer helpers into KMS helper library 2021-10-27 20:21:44 +02:00