[Intel-gfx] [PATCH v2 2/3] drm: Pull together probe + setup for drm_fb_helper
Daniel Vetter
daniel at ffwll.ch
Tue Nov 29 22:35:44 UTC 2016
On Tue, Nov 29, 2016 at 11:26 PM, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> On Tue, Nov 29, 2016 at 09:29:06PM +0100, Daniel Vetter wrote:
>> On Tue, Nov 29, 2016 at 12:02:16PM +0000, Chris Wilson wrote:
>> > drm_fb_helper_probe_connector_modes() is always called before
>> > drm_setup_crtcs(), so just move the call into drm_setup_crtcs for a
>> > small bit of code compaction.
>> >
>> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
>> > Reviewed-by: Daniel Vetter <daniel.vetter at intel.com>
>>
>> rb not entirely correct, since it's missing the crucial note I asked for
>> to understand things:
>>
>> "Note that register_framebuffer will do a modeset (when fbcon is enabled)
>> and hence must be moved out of the critical section. A follow-up patch
>> will add new locking for the fb list, hence move all the related
>> registration code together."
>
> Which is in patch 1 where the move was required.
Oh dear did I screw up :( My apologies for the mess I caused, should
have checked things properly ...
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list