drm/i915: Update shared stats to use the new gem helper
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Feb 2024 21:04:27 +0000 (16:04 -0500)
committerChristian König <christian.koenig@amd.com>
Fri, 16 Feb 2024 11:52:50 +0000 (12:52 +0100)
commit905a176a3ca3d269eb4ea682aa047fcb378498c4
treeffa07067bf9fef41f8fc39f2c75a6eee31cc7be8
parentba1a58d5b907bdf1814f8f57434aebc86233430f
drm/i915: Update shared stats to use the new gem helper

Switch to using the new gem shared memory stats helper
rather than hand rolling it.

Link: https://lore.kernel.org/all/20231207180225.439482-1-alexander.deucher@amd.com/
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/i915/i915_drm_client.c