Re: [PATCH] drm/i915/bdw: MU_FLUSH_DW a qword instead of dword

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 05, 2014 at 02:38:50PM -0800, Ben Widawsky wrote:
> It wasn't completely fortuitous, I did check. I was lucky you think my
> check was satisfactory though. I agree it makes future code somewhat
> risky so maybe some improvement is needed to safeguard. I also have/had
> a patch to lengthen MI_STORE_DATA_INDEX. The decoder however does not
> complain about that one, and the windows team did neither. So I didn't
> want to change it for the sake of change.

Note that the decoder warns here because the shorter length is not valid
if you believe what's in the spec. It could actually work ok if the CS
hardware respects the length field, don't go fetch the missing dword,
and, as we're not using it, doesn't care too much (which seems to be the
case as we correctly jump to the next instruction). But not quite sure
how well defined this is.

-- 
Damien
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux