[Intel-gfx] [PATCH] drm/atomic: Allow for holes in connector state.
Dave Airlie
airlied at gmail.com
Fri Feb 19 03:21:41 UTC 2016
On 16 February 2016 at 21:37, Ville Syrjälä
<ville.syrjala at linux.intel.com> wrote:
> On Mon, Feb 15, 2016 at 02:17:01PM +0100, Maarten Lankhorst wrote:
>> Because we record connector_mask using 1 << drm_connector_index now
>> the connector_mask should stay the same even when other connectors
>> are removed. This was not the case with MST, in that case when removing
>> a connector all other connectors may change their index.
>>
>> This is fixed by waiting until the first get_connector_state to allocate
>> connector_state, and force reallocation when state is too small.
>>
>> As a side effect connector arrays no longer have to be preallocated,
>> and can be allocated on first use which means a less allocations in
>> the page flip only path.
Daniel you said something on irc about v2 of this for -fixes? Did I miss v2?
Dave.
More information about the Intel-gfx
mailing list