Re: [PATCH 0/3] imx drm atomic mode setting fixups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Philipp,

2016-07-07 16:29 GMT+08:00 Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>:
> Hi Liu,
>
> Am Donnerstag, den 07.07.2016, 15:44 +0800 schrieb Ying Liu:
>> Hi Philipp,
>>
>> On Wed, Jul 6, 2016 at 11:52 PM, Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> wrote:
>> > Hi,
>> >
>> > I have tested Liu Ying's imx drm atomic mode setting conversion series [1]
>>
>> Thanks for the testing!
> [...]
>> I didn't program imx_ldb_ch->imx_encoder.bus_format correctly
>> in imx_ldb_connector_get_modes() - I forgot to translate the bus format
>> from LVDS bus format to internal bus format.  Also, data width and
>> LVDS data mapping(SPWG/JEIDA) can be set to ldb->ldb_ctrl in
>> the function. So, one option to fix the issue you found is to simply
>> modify the function and respin the particular patch in my patch set.
>> Actually, I have got a fix tested with the format determined by the panel.
>>
>> I don't have strong opinion on storing bus_format, bus_flags and
>> di_*sync_pin in imx_crtc_state.  But, very likely, they will not be
>> dynamically changed.  Setting them again and again at atomic_check
>> is somewhat wasting CPU cycles...
>
> That really only should be a concern if you can measure the difference.
> Further, with upcoming bridge support in the parallel-display and
> imx-ldb drivers the encoder doesn't have direct access to the connector
> anymore (get_modes is handled by the bridges' connector). I could also
> think of bridges where the optimal input bus_format depends on the mode.
> So I'd prefer the internal bus configuration to reside in imx_crtc_state
> instead of imx_encoder.
>
>> BTW, the imx-drm atomic conversion patch set has reached version 3
>> which uses the new non-blocking atomic commit helpers.
>
> Yes, thank you for the update. I chose the wrong link, I have tested
> version 3. If you are willing to respin your series once more, feel free
> to integrate all or part of my changes in the appropriate places (the
> mode_set removal could be squashed into the "Legacy callback fixups"
> patch, for example). I could then retest and potentially rebase the
> remaining changes on your next version.

I'll respin to fix the LVDS bus format translation issue.
To keep my patch set as small as possible, I'll leave your 3 patches
for you to handle.  Please consider to rebase.

Regards,
Liu Ying

>
> regards
> Philipp
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux