[PATCH 13/14] drm/amdgpu: Define one variable for virtual display.

Deng, Emily Emily.Deng at amd.com
Fri Aug 5 09:27:55 UTC 2016



> -----Original Message-----
> From: Michel Dänzer [mailto:michel at daenzer.net]
> Sent: Friday, August 05, 2016 4:29 PM
> To: Deng, Emily <Emily.Deng at amd.com>
> Cc: amd-gfx at lists.freedesktop.org
> Subject: Re: [PATCH 13/14] drm/amdgpu: Define one variable for virtual display.
> 
> On 05.08.2016 15:09, Emily Deng wrote:
> > For virtual display feature, define on variable in amdgpu.ko. When
> > want to enable virtual display feature, need set the option
> "amdgpu.virtual_display=1".
> > And then disable vga render and crtc if have DCE engine.
> 
> What if there are multiple GPUs supported by amdgpu in the system, and the
> user wants to enable virtual output for some, but not all of them?
> 
[[EmilyD]] Currently, only support enable or disable virtual display for all outputs. I think maybe could first check in the currently code. If we'd like to support to enable virtual display output for some, future we may define a string variable which
includes the busID of outputs which want to enable virtual display,  then parse the string in driver to define what outputs need to enable virtual display.

> 

> --
> Earthling Michel Dänzer               |               http://www.amd.com
> Libre software enthusiast             |             Mesa and X developer


More information about the amd-gfx mailing list