drm: mali-dp: Check for sufficient address space
authorMihail Atanassov <mihail.atanassov@arm.com>
Mon, 23 Jan 2017 13:46:42 +0000 (13:46 +0000)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 26 Jan 2017 15:46:18 +0000 (15:46 +0000)
commit4d6000edcd9df048477ef4335296513d05e3b544
tree162ca821a2c6df1723e261687a75a597fecb4153
parent592d8c8ccef6c8bdbe6d03fd01fd5baea921dc83
drm: mali-dp: Check for sufficient address space

If the device-tree 'reg' node doesn't reserve enough
space for the DP, fail to bind.

Reviewed-by: Brian Starkey <brian.starkey@arm.com>
Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
[renamed added function to malidp_has_sufficient_address_space]
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/malidp_drv.c
drivers/gpu/drm/arm/malidp_regs.h