drm/amd/display: Do not create memory allocation if stats not enabled
authorAnthony Koo <Anthony.Koo@amd.com>
Fri, 6 Apr 2018 16:07:19 +0000 (12:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:24 +0000 (13:43 -0500)
commitc4b0faae71f33377a11fe19dadcce6deb86f5037
treed2279d08de814a101b0dd0687888c834a495e7e5
parent339cc82ae67700cb25a5bb10842cca5b09a79afe
drm/amd/display: Do not create memory allocation if stats not enabled

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/stats/stats.c