aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ttm/ttm_page_alloc.c
diff options
context:
space:
mode:
authorLiviu Dudau <Liviu.Dudau@arm.com>2017-08-31 15:48:43 +0100
committerLiviu Dudau <Liviu.Dudau@arm.com>2017-11-24 15:42:59 +0000
commita6993b215a719ad5758c1bced5f8df95add070bf (patch)
tree8d4409645890d095e4d06e04fbdf902391a57ffa /drivers/gpu/drm/ttm/ttm_page_alloc.c
parent0970d7a2f5b0dcdd520c7655210d677f6e9a878e (diff)
drm: mali-dp: Separate static internal data into a read-only structure.
The malidp_hw_device structure that the driver uses to handle the differences between versions of the IP contains both non-changeable data and fields that get updated at probe time. Previously we were copying the read-only part into allocated memory, but that can be completely avoided by splitting the structure into a read-only part and keeping the runtime modifiable fields into the old structure. Reviewed-by: Brian Starkey <brian.starkey@arm.com> Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com> Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_page_alloc.c')
0 files changed, 0 insertions, 0 deletions