[Intel-gfx] [PATCH 2/8] drm/i915: Change get_existing_crtc_state to old state

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Tue Aug 1 07:53:33 UTC 2017


Hey,

Op 01-08-17 om 08:46 schreef Mahesh Kumar:
> Hi,
>
> As per my understanding "get_existing_*_state == get_new_*_state"
>
> It looks like you are trying to use currently available unused wrapper for completely different purpose. But IMHO you should create a new wrapper for get_old_state
>
> & this should be renamed to get_new_state. :) 

This really depends, and is the reason why we have to rename this.

Before commit:
get_existing_state == get_new_state

After commit:
get_existing_state == get_old_state.

Perhaps I can add both in this patch, I'll clean the series up slightly.



More information about the Intel-gfx mailing list