Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/radeon: OLAND boards don't have VCE

Disable it on those boards. No functional change, this just
removes the message about VCE failing to initialize.

Bug: https://bugzilla.kernel.org/show_bug.cgi?id=197327
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

+3 -2
+3
drivers/gpu/drm/radeon/radeon_asic.c
··· 2478 2478 if (rdev->family == CHIP_HAINAN) { 2479 2479 rdev->has_uvd = false; 2480 2480 rdev->has_vce = false; 2481 + } else if (rdev->family == CHIP_OLAND) { 2482 + rdev->has_uvd = true; 2483 + rdev->has_vce = false; 2481 2484 } else { 2482 2485 rdev->has_uvd = true; 2483 2486 rdev->has_vce = true;
-1
drivers/gpu/drm/radeon/radeon_vce.c
··· 68 68 case CHIP_TAHITI: 69 69 case CHIP_PITCAIRN: 70 70 case CHIP_VERDE: 71 - case CHIP_OLAND: 72 71 case CHIP_ARUBA: 73 72 fw_name = FIRMWARE_TAHITI; 74 73 break;
-1
drivers/gpu/drm/radeon/vce_v1_0.c
··· 169 169 chip_id = 0x01000015; 170 170 break; 171 171 case CHIP_PITCAIRN: 172 - case CHIP_OLAND: 173 172 chip_id = 0x01000016; 174 173 break; 175 174 case CHIP_ARUBA: