[Intel-gfx] [PATCH v11 23/23] HACK: drm/i915/bios: ignore VBT not overflowing the mailbox

Madhav Chauhan madhav.chauhan at intel.com
Fri Nov 30 14:10:25 UTC 2018


On 11/29/2018 7:42 PM, Jani Nikula wrote:
> Some machines seem to have a broken opregion where the VBT overflows the
> mailbox. Ignore this until properly fixed.

Right, otherwise DSI modeset doesn't progress further.
Acked-by: Madhav Chauhan <madhav.chauhan at intel.com>

Regards,
Madhav

>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> ---
>   drivers/gpu/drm/i915/intel_bios.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios.c
> index 0694aa8bb9bc..39e502ea557c 100644
> --- a/drivers/gpu/drm/i915/intel_bios.c
> +++ b/drivers/gpu/drm/i915/intel_bios.c
> @@ -1706,7 +1706,6 @@ bool intel_bios_is_valid_vbt(const void *buf, size_t size)
>   	bdb = get_bdb_header(vbt);
>   	if (range_overflows_t(size_t, vbt->bdb_offset, bdb->bdb_size, size)) {
>   		DRM_DEBUG_DRIVER("BDB incomplete\n");
> -		return false;
>   	}
>   
>   	return vbt;



More information about the Intel-gfx mailing list