ForceTVOut option in KMS

Alex Deucher alexdeucher at gmail.com
Wed Dec 8 13:41:53 PST 2010


On Wed, Dec 8, 2010 at 4:39 PM, Sergej Pupykin <ml at sergej.pp.ru> wrote:
> On 09.12.2010 00:21, Alex Deucher wrote:
>>
>>> "video=9-pin DIN-1:1024x768-24 at 60e"
>>>
>>> but kernel panics saying about bad variable name
>>
>> I don't think you have a space in the name.  grub doesn't deal with it
>> properly unfortunately.
>>
> drm_connector_enum_list contains "9-pin DIN". Then it used in
> drm_fb_helper.c
> as
> fb_get_options(drm_get_connector_name(fb_helper_conn->connector), &option)
>
> drm_get_connector_name() function just sprintfs:
> snprintf(buf, 32, "%s-%d",
> drm_connector_enum_list[connector->connector_type].name,
> connector->connector_type_id);
>
> so if I understand correctly we have "9-pin DIN-1" in fb_get_options() call.
>

It should probably be renamed to "9-pin_DIN-1" since grub doesn't
parse spaces correctly when passing the parameters to the kernel.


More information about the xorg-driver-ati mailing list