Antonino A. Daplas wrote:
quoted text >
> How about this patch?
>
> Tony
> ---
>
> Subject: video setup: Fix VBE DDC reading
>
> Add memory operand constraint and write-only modifier to the inline
> assembly to effect the writing of the EDID block to boot_params.edid_info.
>
> Signed-off-by: Antonino Daplas <adaplas@gmail.com>
OK, now I feel dumb. You're absolutely right; without that constraint,
the entire EDID function after the memset is eliminated by gcc as being
dead code.
Will queue the patch.
-hpa
-
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: [PATCH] retrieve VBE EDID/DDC info independent of used v... , H. Peter Anvin , (Thu Aug 2, 9:23 am)