android_kernel_msm-6.1_noth.../drivers/gpu/drm/ast
Thomas Zimmermann 3c9881fd22 drm/ast: Fix DRAM init on AST2200
commit 4cfe75f0f14f044dae66ad0e6eea812d038465d9 upstream.

Fix the test for the AST2200 in the DRAM initialization. The value
in ast->chip has to be compared against an enum constant instead of
a numerical value.

This bug got introduced when the driver was first imported into the
kernel.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: 312fec1405 ("drm: Initial KMS driver for AST (ASpeed Technologies) 2000 series (v2)")
Cc: Dave Airlie <airlied@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Cc: <stable@vger.kernel.org> # v3.5+
Reviewed-by: Sui Jingfeng <suijingfeng@loongson.cn>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Tested-by: Jocelyn Falempe <jfalempe@redhat.com> # AST2600
Link: https://patchwork.freedesktop.org/patch/msgid/20230621130032.3568-2-tzimmermann@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-09-19 12:27:56 +02:00
..
ast_dp.c drm/ast: Fixed the casting issue reported by sparse 2022-06-24 09:37:32 +02:00
ast_dp501.c drm/ast: Support multiple outputs 2022-06-08 13:16:15 +02:00
ast_dram_tables.h
ast_drv.c drm/ast: Use drm_aperture_remove_conflicting_pci_framebuffers 2023-08-30 16:10:57 +02:00
ast_drv.h drm/ast: Fixed the casting issue reported by sparse 2022-06-24 09:37:32 +02:00
ast_i2c.c
ast_main.c drm/ast: Fix ARM compatibility 2023-06-09 10:34:07 +02:00
ast_mm.c
ast_mode.c drm/ast: Fix video broken in some resolutions on ast2600 2022-09-20 10:20:23 +02:00
ast_post.c drm/ast: Fix DRAM init on AST2200 2023-09-19 12:27:56 +02:00
ast_tables.h drm/ast: Add resolution support for 1152x864@75 2022-09-20 10:19:32 +02:00
Kconfig
Makefile drm/ast: Create the driver for ASPEED proprietory Display-Port 2022-05-03 16:04:03 +02:00