[PATCH v5 2/2] drm/ast: report connection status on Display Port.

Jocelyn Falempe jfalempe at redhat.com
Thu Jul 13 13:34:12 UTC 2023


On 13/07/2023 11:31, Jocelyn Falempe wrote:
> On 13/07/2023 11:12, Thomas Zimmermann wrote:
>> Hi
>>
>> Am 13.07.23 um 11:05 schrieb Jammy Huang:
>> [...]
>>>>
>>>>
>>>> For the BMC connector patch, you know if there is a register setting 
>>>> I can check to see if a BMC is present or not ?
>>>
>>> I think you can use VGA CRD0[7] whose definition is as below:
>>>
>>> DRAM Initial Selection (see note 1)
>>> 0: VBIOS Initial the DRAM
>>> 1: SOC Firmware Initial the DRAM
>>>
>>> If CRD0[7] is 1, there is BMC.
>>
>> Thank you. That seems very helpful.
> 
> Thank a lot, I will run some tests, and add this check in my v6.
> 

Unfortunately, on my testing server (which has BMC, and I'm using it) 
the bit(7) of CRD0 is set to 0.

Here is the complete register read:
AST read[d0] 0x41

So I will keep the always enabled BMC virtual connector.

-- 

Jocelyn



More information about the dri-devel mailing list