linux-stable/drivers/gpu/drm
Tom Chung 8bf22f8d1d drm/amd/display: Preserve original aspect ratio in create stream
[ Upstream commit 79f3e38f60 ]

[Why]
The original picture aspect ratio in mode struct may have chance be
overwritten with wrong aspect ratio data in create_stream_for_sink().
It will create a different VIC output and cause HDMI compliance test
failed.

[How]
Preserve the original picture aspect ratio data during create the
stream.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-10 16:19:32 +02:00
..
amd drm/amd/display: Preserve original aspect ratio in create stream 2024-04-10 16:19:32 +02:00
arm drm/komeda: drop all currently held locks if deadlock happens 2023-11-28 16:56:16 +00:00
armada drm/armada: Fix off-by-one error in armada_overlay_get_property() 2023-09-19 12:22:38 +02:00
aspeed drm/aspeed: Fix vga_pw sysfs output 2021-12-01 09:04:47 +01:00
ast drm/ast: Fix DRAM init on AST2200 2023-09-19 12:22:55 +02:00
atmel-hlcdc drm/atmel-hlcdc: Convert to Linux IRQ interfaces 2021-08-10 20:00:58 +02:00
bridge Revert "drm/bridge: lt8912b: Register and attach our DSI device at probe" 2024-03-06 14:38:50 +00:00
etnaviv drm/etnaviv: Restore some id values 2024-04-10 16:18:39 +02:00
exynos drm/exynos: do not return negative values from .get_modes() 2024-04-10 16:18:42 +02:00
fsl-dcu drm/fsl-dcu: Fix return type of fsl_dcu_drm_connector_mode_valid() 2022-12-31 13:14:44 +01:00
gma500 drm/gma500: Fix BUG: sleeping function called from invalid context errors 2022-09-28 11:11:55 +02:00
gud drm/gud: Get offset-adjusted mapping from drm_gem_fb_vmap() 2021-08-08 20:27:24 +02:00
hisilicon drm/hisilicon: Add depends on MMU 2022-09-28 11:11:50 +02:00
hyperv drm/hyperv: Don't overwrite dirt_needed value set by host 2023-05-17 11:50:15 +02:00
i2c
i810 drm: IRQ midlayer is now legacy 2021-08-10 20:14:01 +02:00
i915 drm/i915/gt: Reset queue_priority_hint on parking 2024-04-10 16:19:31 +02:00
imx drm/imx/ipuv3: do not return negative values from .get_modes() 2024-04-10 16:18:42 +02:00
ingenic drm/ingenic: Fix missing platform_driver_unregister() call in ingenic_drm_init() 2023-01-12 11:59:00 +01:00
kmb drm/kmb: Fix for build errors with Warray-bounds 2022-02-08 18:34:09 +01:00
lib
lima drm/lima: fix a memleak in lima_heap_alloc 2024-03-26 18:21:25 -04:00
mcde drm/mcde: Fix refcount leak in mcde_dsi_bind 2022-08-17 14:23:23 +02:00
mediatek drm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip 2024-03-26 18:21:30 -04:00
meson drm/meson: fix memory leak on ->hpd_notify callback 2023-10-06 13:18:24 +02:00
mga drm: IRQ midlayer is now legacy 2021-08-10 20:14:01 +02:00
mgag200 drm/mgag200: Fix PLL setup for G200_SE_A rev >=4 2023-01-12 11:59:20 +01:00
msm drm/msm/dpu: add division of drm_display_mode's hskew parameter 2024-03-26 18:21:31 -04:00
mxsfb drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC 2023-03-10 09:39:19 +01:00
nouveau nouveau: reset the bo resource bus info after an eviction 2024-03-26 18:21:35 -04:00
omapdrm Revert "drm/omapdrm: Annotate dma-fence critical section in commit path" 2024-01-25 14:52:41 -08:00
panel drm: panel-simple: add missing bus flags for Tianma tm070jvhg[30/33] 2024-02-23 08:54:35 +01:00
panfrost drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path 2023-04-13 16:48:25 +02:00
pl111 drm:pl111: Add of_node_put() when breaking out of for_each_available_child_of_node() 2022-10-26 12:34:51 +02:00
qxl drm/qxl: prevent memory leak 2023-11-28 16:56:21 +00:00
r128 drm/r128: fix build for UML 2021-10-15 15:05:10 +10:00
radeon drm/radeon/ni: Fix wrong firmware size logging in ni_init_microcode() 2024-03-26 18:21:27 -04:00
rcar-du drm/rcar: stop using 'imply' for dependencies 2023-06-09 10:32:34 +02:00
rockchip drm/rockchip: lvds: do not print scary message when probing defer 2024-03-26 18:21:25 -04:00
savage
scheduler dma-buf: add dma_fence_timestamp helper 2024-02-23 08:55:10 +01:00
selftests drm/selftests/test-drm_dp_mst_helper: Fix memory leak in sideband_msg_req_encode_decode 2022-04-08 14:23:24 +02:00
shmobile
sis
sti drm/sti: Fix return type of sti_{dvo,hda,hdmi}_connector_mode_valid() 2022-12-31 13:14:44 +01:00
stm stm: ltdc: fix two incorrect NULL checks on list iterator 2022-06-09 10:23:28 +02:00
sun4i drm: sun4i_tcon: use devm_clk_get_enabled in sun4i_tcon_init_clocks 2023-07-23 13:46:59 +02:00
tdfx
tegra drm/tegra: put drm_gem_object ref on error in tegra_fb_create 2024-03-26 18:21:29 -04:00
tidss drm/tidss: Fix initial plane zpos values 2024-03-26 18:21:29 -04:00
tilcdc drm/tilcdc: Fix irq free on unload 2024-01-25 14:52:41 -08:00
tiny drm: gm12u320: Fix the timeout usage for usb_bulk_msg() 2023-09-23 11:10:01 +02:00
ttm drm/ttm: add ttm_resource_fini v2 2024-03-26 18:21:25 -04:00
tve200
udl drm/udl: Restore display mode on resume 2022-10-26 12:34:24 +02:00
v3d drm/shmem-helper: Pass GEM shmem object in public interfaces 2022-08-17 14:23:19 +02:00
vboxvideo drm/vboxvideo: fix a NULL vs IS_ERR() check 2022-01-27 11:03:13 +01:00
vc4 drm/vc4: hdmi: do not return negative values from .get_modes() 2024-04-10 16:18:42 +02:00
vgem drm/vgem: add missing mutex_destroy 2023-05-11 23:00:20 +09:00
via drm: IRQ midlayer is now legacy 2021-08-10 20:14:01 +02:00
virtio drm/virtio: Fix error code in virtio_gpu_object_shmem_init() 2023-03-11 13:57:40 +01:00
vkms drm/vkms: Fix null-ptr-deref in vkms_release() 2023-03-10 09:39:20 +01:00
vmwgfx drm/vmwgfx: Fix possible null pointer derefence with invalid contexts 2024-04-10 16:18:34 +02:00
xen
xlnx drm: xlnx: zynqmp_dpsub: Add missing check for dma_set_mask 2023-09-19 12:22:38 +02:00
zte
drm_agpsupport.c
drm_aperture.c drm/aperture: Run fbdev removal before internal helpers 2022-07-21 21:24:44 +02:00
drm_atomic.c drm/atomic: Fix potential use-after-free in nonblocking commits 2023-07-23 13:47:58 +02:00
drm_atomic_helper.c drm/atomic-helper: relax unregistered connector check 2023-10-25 11:58:58 +02:00
drm_atomic_state_helper.c
drm_atomic_uapi.c drm/atomic: Don't pollute crtc_state->mode_blob with error pointers 2022-02-23 12:03:08 +01:00
drm_auth.c drm: add lockdep assert to drm_is_current_master_locked 2021-08-05 12:08:15 +02:00
drm_blend.c
drm_bridge.c drm/bridge: Avoid uninitialized variable warning 2022-10-26 12:34:50 +02:00
drm_bridge_connector.c drm/bridge_connector: enable HPD by default if supported 2022-06-09 10:22:44 +02:00
drm_bufs.c drm: Fix typo in comments 2021-08-02 10:19:43 +02:00
drm_cache.c drm: Fix typo in comments 2021-08-02 10:19:43 +02:00
drm_client.c
drm_client_modeset.c drm/client: Fix memory leak in drm_client_modeset_probe 2023-07-27 08:46:55 +02:00
drm_color_mgmt.c
drm_connector.c drm/connector: send hotplug uevent on connector cleanup 2023-01-12 11:58:59 +01:00
drm_context.c
drm_crtc.c drm/crtc: fix uninitialized variable use 2024-01-25 14:52:31 -08:00
drm_crtc_helper.c
drm_crtc_helper_internal.h
drm_crtc_internal.h
drm_damage_helper.c drm: Fix typo in comments 2021-08-02 10:19:43 +02:00
drm_debugfs.c
drm_debugfs_crc.c
drm_displayid.c drm/displayid: add displayid_get_header() and check bounds better 2023-05-24 17:36:43 +01:00
drm_dma.c
drm_dp_aux_bus.c drm/dp: Export symbol / kerneldoc fixes for DP AUX bus 2022-08-17 14:23:16 +02:00
drm_dp_aux_dev.c
drm_dp_cec.c
drm_dp_dual_mode_helper.c drm/display: Don't assume dual mode adaptors support i2c sub-addressing 2022-12-02 17:41:00 +01:00
drm_dp_helper.c drm/dp: Don't rewrite link config when setting phy test pattern 2022-10-26 12:35:42 +02:00
drm_dp_mst_topology.c drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper() 2023-11-08 17:26:37 +01:00
drm_dp_mst_topology_internal.h
drm_drv.c drm/drv: propagate errors from drm_modeset_register_all() 2024-01-25 14:52:42 -08:00
drm_dsc.c drm: Fix typo in comments 2021-08-02 10:19:43 +02:00
drm_dumb_buffers.c
drm_edid.c drm/edid: fix AVI infoframe aspect ratio handling 2023-03-10 09:40:14 +01:00
drm_edid_load.c
drm_encoder.c
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c fbdev: Rename pagelist to pagereflist for deferred I/O 2024-02-23 08:55:13 +01:00
drm_file.c drm/drm_file: fix use of uninitialized variable 2024-02-23 08:54:46 +01:00
drm_flip_work.c
drm_format_helper.c drm: Fix typo in comments 2021-08-02 10:19:43 +02:00
drm_fourcc.c drm/fourcc: Add missing big-endian XRGB1555 and RGB565 formats 2023-03-10 09:39:19 +01:00
drm_framebuffer.c drm/framebuffer: Fix use of uninitialized variable 2024-02-23 08:54:47 +01:00
drm_gem.c drm/gem: Fix GEM handle release errors 2022-09-15 11:30:01 +02:00
drm_gem_atomic_helper.c drm/gem: Provide offset-adjusted framebuffer BO mappings 2021-08-08 20:26:16 +02:00
drm_gem_cma_helper.c drm/cma-helper: Set VM_DONTEXPAND for mmap 2022-02-23 12:03:09 +01:00
drm_gem_framebuffer_helper.c drm/gem: Provide offset-adjusted framebuffer BO mappings 2021-08-08 20:26:16 +02:00
drm_gem_shmem_helper.c drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap() 2023-08-16 18:21:58 +02:00
drm_gem_ttm_helper.c drm/ttm: fix locking in vmap/vunmap TTM GEM helpers 2022-07-29 17:25:05 +02:00
drm_gem_vram_helper.c drm/vram-helper: fix function names in vram helper doc 2023-07-23 13:46:58 +02:00
drm_hashtab.c
drm_hdcp.c drm: Fix typo in comments 2021-08-02 10:19:43 +02:00
drm_internal.h drm: Fix potential null-ptr-deref in drm_vblank_destroy_worker() 2022-11-26 09:24:37 +01:00
drm_ioc32.c drm: Copy drm_wait_vblank to user before returning 2021-08-17 13:56:03 -04:00
drm_ioctl.c drm: Prevent drm_copy_field() to attempt copying a NULL pointer 2022-10-26 12:35:38 +02:00
drm_irq.c drm: IRQ midlayer is now legacy 2021-08-10 20:14:01 +02:00
drm_kms_helper_common.c
drm_lease.c drm: clean up unused kerneldoc in drm_lease.c 2021-07-30 11:55:41 +02:00
drm_legacy.h
drm_legacy_misc.c drm: IRQ midlayer is now legacy 2021-08-10 20:14:01 +02:00
drm_lock.c
drm_managed.c
drm_memory.c
drm_mipi_dbi.c drm/mipi-dbi: align max_chunk to 2 in spi_transfer 2022-08-17 14:23:17 +02:00
drm_mipi_dsi.c drm/mipi-dsi: Fix detach call without attach 2024-02-23 08:54:47 +01:00
drm_mm.c drm: Fix typo in comments 2021-08-02 10:19:43 +02:00
drm_mode_config.c drm: Fix potential null-ptr-deref due to drmm_mode_config_init() 2023-03-10 09:39:19 +01:00
drm_mode_object.c drm: Fix typo in comments 2021-08-02 10:19:43 +02:00
drm_modes.c drm: Fix typo in comments 2021-08-02 10:19:43 +02:00
drm_modeset_helper.c
drm_modeset_lock.c
drm_of.c drm/bridge: Add a function to abstract away panels 2022-08-17 14:23:24 +02:00
drm_panel.c drm/panel: do not return negative error codes from drm_panel_get_modes() 2024-04-10 16:18:42 +02:00
drm_panel_orientation_quirks.c drm: panel-orientation-quirks: Add quirk for One Mix 2S 2023-10-25 11:59:01 +02:00
drm_pci.c
drm_plane.c drm: Don't unref the same fb many times by mistake due to deadlock handling 2024-02-23 08:54:32 +01:00
drm_plane_helper.c drm/plane-helper: fix uninitialized variable reference 2021-11-18 19:17:00 +01:00
drm_prime.c drm/prime: Support page array >= 4GB 2024-02-23 08:55:07 +01:00
drm_print.c isystem: ship and use stdarg.h 2021-08-19 09:02:55 +09:00
drm_probe_helper.c drm/probe-helper: Cancel previous job before starting new one 2023-05-11 23:00:20 +09:00
drm_property.c drm: Fix typo in comments 2021-08-02 10:19:43 +02:00
drm_rect.c
drm_scatter.c
drm_scdc_helper.c drm: Fix typo in comments 2021-08-02 10:19:43 +02:00
drm_self_refresh_helper.c
drm_simple_kms_helper.c drm/simple-kms: Support custom CRTC state 2021-08-08 20:14:08 +02:00
drm_syncobj.c drm/syncobj: call drm_syncobj_fence_add_wait when WAIT_AVAILABLE flag is set 2024-03-01 13:22:00 +01:00
drm_sysfs.c
drm_trace.h
drm_trace_points.c
drm_vblank.c drm: IRQ midlayer is now legacy 2021-08-10 20:14:01 +02:00
drm_vblank_work.c
drm_vm.c
drm_vma_manager.c drm: Fix typo in comments 2021-08-02 10:19:43 +02:00
drm_writeback.c
Kconfig Revert "drm: fb_helper: fix CONFIG_FB dependency" 2021-11-21 13:44:12 +01:00
Makefile