summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/vi.c
diff options
context:
space:
mode:
authorEmily Deng <Emily.Deng@amd.com>2016-08-10 16:01:25 +0800
committerAlex Deucher <alexander.deucher@amd.com>2016-08-10 14:04:17 -0400
commit9accf2fd33e969862c55be0c20dbfb9b0890bbb8 (patch)
treee5af1b2ffec41f0a439ba3b4a49210dee0cdb2b6 /drivers/gpu/drm/amd/amdgpu/vi.c
parent4f4b78341b658cfa0ca7b1587f5540c21f9db997 (diff)
downloadblackbird-obmc-linux-9accf2fd33e969862c55be0c20dbfb9b0890bbb8.tar.gz
blackbird-obmc-linux-9accf2fd33e969862c55be0c20dbfb9b0890bbb8.zip
drm/amdgpu: Change the virtual_display type from int to char*.
For virtual display feature, as there may be multiple GPUs, for user could choose whiche GPU need to enable this feature, change the type of virtual_display from int to char*. The variable will be set like this virtual_display="xxxx:xx:xx.x;xxxx:xx:xx.x;". Signed-off-by: Emily Deng <Emily.Deng@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vi.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
index 69c2f8175e68..f2e8aa1a0dbd 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c
@@ -1441,7 +1441,7 @@ static const struct amdgpu_ip_block_version cz_ip_blocks_vd[] =
int vi_set_ip_blocks(struct amdgpu_device *adev)
{
- if (amdgpu_virtual_display) {
+ if (adev->enable_virtual_display) {
switch (adev->asic_type) {
case CHIP_TOPAZ:
adev->ip_blocks = topaz_ip_blocks_vd;
OpenPOWER on IntegriCloud