intel_fb_drv: handle displays with EDID extensions

Fixes #1860.
This commit is contained in:
Josef Söntgen 2016-01-23 00:38:22 +01:00 committed by Christian Helmuth
parent 2a698ffd5f
commit 8982bc5843
3 changed files with 8 additions and 8 deletions

View File

@ -78,12 +78,6 @@ bool flush_delayed_work(struct delayed_work *dwork)
return false;
}
void *krealloc(const void *, size_t, gfp_t)
{
TRACE_AND_STOP;
return NULL;
}
void down_read(struct rw_semaphore *sem)
{
TRACE_AND_STOP;

View File

@ -964,7 +964,7 @@ void yield(void)
int hdmi_avi_infoframe_init(struct hdmi_avi_infoframe *frame)
{
TRACE_AND_STOP;
TRACE;
return -1;
}
@ -976,7 +976,7 @@ int hdmi_vendor_infoframe_init(struct hdmi_vendor_infoframe *frame)
int hdmi_spd_infoframe_init(struct hdmi_spd_infoframe *frame, const char *vendor, const char *product)
{
TRACE_AND_STOP;
TRACE;
return -1;
}

View File

@ -148,6 +148,12 @@ void *kmem_cache_zalloc(struct kmem_cache *k, gfp_t flags)
return kmem_cache_alloc(k, flags | __GFP_ZERO);
}
void *krealloc(const void *p, size_t size, gfp_t flags)
{
/* use const-less version from <impl/slab.h> */
return krealloc(const_cast<void*>(p), size, flags);
}
/*****************
** linux/idr.h **