[Mesa-dev] [PATCH 08/11] intel: Disable fast color clear on icl

Matt Turner mattst88 at gmail.com
Wed Mar 21 22:05:58 UTC 2018


On Wed, Mar 21, 2018 at 2:52 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> On Wednesday, March 21, 2018 2:06:19 PM PDT Matt Turner wrote:
>> From: Anuj Phogat <anuj.phogat at gmail.com>
>>
>> Disabling fast color clear makes fbo-clearmipmap test render correct
>> texture in base miplevel. Fast color clear is anyways disabled for
>> non-base miplevels.
>> ---
>>  src/mesa/drivers/dri/i965/brw_blorp.c | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/src/mesa/drivers/dri/i965/brw_blorp.c b/src/mesa/drivers/dri/i965/brw_blorp.c
>> index 72578b6ea5c..bee8e409897 100644
>> --- a/src/mesa/drivers/dri/i965/brw_blorp.c
>> +++ b/src/mesa/drivers/dri/i965/brw_blorp.c
>> @@ -1228,6 +1228,10 @@ do_single_blorp_clear(struct brw_context *brw, struct gl_framebuffer *fb,
>>        }
>>     }
>>
>> +   /* FINISHME: Debug and enable fast clears */
>> +   if (devinfo->gen >= 11)
>> +      can_fast_clear = false;
>> +
>>     if (can_fast_clear) {
>>        const enum isl_aux_state aux_state =
>>           intel_miptree_get_aux_state(irb->mt, irb->mt_level, irb->mt_layer);
>>
>
> Not very enthused about this, it's fine if we need to do this for now,
> but we should at least make sure we're tracking the task somewhere.

Yeah. Just filed as MD5-422.


More information about the mesa-dev mailing list