mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
drm/i915: Remove ad-hoc lmem/stolen debugs
Now that intel_memory_regions_hw_probe() prints out each and every memory region there's no reason to have ad-hoc debugs to do similar things elsewhere. Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com> Reviewed-by: Nirmoy Das <nirmoy.das@intel.com> Tested-by: Paz Zcharya <pazz@chromium.org> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240202224340.30647-4-ville.syrjala@linux.intel.com
This commit is contained in:
parent
2ab1fe53e2
commit
8f7cf0a215
|
|
@ -828,7 +828,6 @@ static const struct intel_memory_region_ops i915_region_stolen_smem_ops = {
|
|||
|
||||
static int init_stolen_lmem(struct intel_memory_region *mem)
|
||||
{
|
||||
struct drm_i915_private *i915 = mem->i915;
|
||||
int err;
|
||||
|
||||
if (GEM_WARN_ON(resource_size(&mem->region) == 0))
|
||||
|
|
@ -844,9 +843,6 @@ static int init_stolen_lmem(struct intel_memory_region *mem)
|
|||
!io_mapping_init_wc(&mem->iomap, mem->io.start, resource_size(&mem->io)))
|
||||
goto err_cleanup;
|
||||
|
||||
drm_dbg(&i915->drm, "Stolen Local DSM: %pR\n", &mem->region);
|
||||
drm_dbg(&i915->drm, "Stolen Local memory IO: %pR\n", &mem->io);
|
||||
|
||||
return 0;
|
||||
|
||||
err_cleanup:
|
||||
|
|
|
|||
|
|
@ -273,9 +273,6 @@ static struct intel_memory_region *setup_lmem(struct intel_gt *gt)
|
|||
if (err)
|
||||
goto err_region_put;
|
||||
|
||||
drm_dbg(&i915->drm, "Local memory: %pR\n", &mem->region);
|
||||
drm_dbg(&i915->drm, "Local memory IO: %pR\n", &mem->io);
|
||||
|
||||
if (io_size < lmem_size)
|
||||
drm_info(&i915->drm, "Using a reduced BAR size of %lluMiB. Consider enabling 'Resizable BAR' or similar, if available in the BIOS.\n",
|
||||
(u64)io_size >> 20);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user