summaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2024-01-24 11:16:07 +0100
committerSui Jingfeng <sui.jingfeng@linux.dev>2024-01-28 12:06:46 +0100
commitcc575083cdcf8127f5e260915f5af443602a7763 (patch)
tree68e73ddfec7f4b893aba19ff5cc0748447119d0b /drivers/extcon
parentdrm/ttm: Make sure the mapped tt pages are decrypted when needed (diff)
downloadlinux-cc575083cdcf8127f5e260915f5af443602a7763.tar.xz
linux-cc575083cdcf8127f5e260915f5af443602a7763.zip
drm/loongson: Error out if no VRAM detected
When a Loongson laptop is equipped with a Radeon GPU, it can be true that there is no dedicated VRAM soldered on the motherboard. This is probably for cost reason, but drm/loongson driver is probed because the platform BIOS (either UEFI or PMON) forget to disable the integrated GPU. So in the lsdc_get_dedicated_vram() function, we error out if no dedicated VRAM detected. This fix nothing, but serve as a sanity check only. Tested-by: Xiaotian Wu <wuxiaotian@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Reviewed-by: Sui Jingfeng <sui.jingfeng@linux.dev> Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev> Link: https://patchwork.freedesktop.org/patch/msgid/20240124101607.2910998-1-chenhuacai@loongson.cn
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions