[Intel-gfx] [PATCH] drm/i915: Handle changing enable_fbc parameter at runtime better.

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Tue Mar 6 10:22:16 UTC 2018


Op 05-03-18 om 19:50 schreef Rodrigo Vivi:
> On Mon, Mar 05, 2018 at 01:36:08PM +0100, Maarten Lankhorst wrote:
>> If i915.enable_fbc is cleared at runtime, but FBC was previously enabled
>> then we don't disable FBC until the next time the crtc is disabled.
>>
>> Make sure that if the module param is changed, we disable FBC in
>> intel_fbc_post_update so we never have to worry about disabling.
> What about switching this from a parameter to debugfs toggle like drrs?
There are still places where people recommend booting with i915.enable_fbc=0, this would break if we moved it to debugfs.

Having a small fix is enough.

~Maarten


More information about the Intel-gfx mailing list