drm/amdgpu/display: set gpu vm flag for renoir
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 8 Jan 2020 22:47:23 +0000 (17:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Jan 2020 15:18:10 +0000 (10:18 -0500)
It won't get used unless the driver allows the gtt domain for
display buffers which is controlled elsewhere.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

index 490c73eada8fc03a18c5c4ce994eb0b75680300d..504278d94c2299d20d18f37c12c8fc0c7152b093 100644 (file)
@@ -910,6 +910,7 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
        case CHIP_CARRIZO:
        case CHIP_STONEY:
        case CHIP_RAVEN:
+       case CHIP_RENOIR:
                init_data.flags.gpu_vm_support = true;
                break;
        default: