)]}'
{
  "commit": "bdcdf968be314b6fc8835b99fb4519e7619671e6",
  "tree": "bff379cbde6bd07e000945066f8d22f203933632",
  "parents": [
    "f262015b9797effdec15e8a81c81b2158ede9578"
  ],
  "author": {
    "name": "Thomas Hellström",
    "email": "thomas.hellstrom@linux.intel.com",
    "time": "Wed Jan 21 10:10:47 2026 +0100"
  },
  "committer": {
    "name": "Thomas Hellström",
    "email": "thomas.hellstrom@linux.intel.com",
    "time": "Thu Jan 22 10:41:18 2026 +0100"
  },
  "message": "drm, drm/xe: Fix xe userptr in the absence of CONFIG_DEVICE_PRIVATE\n\nCONFIG_DEVICE_PRIVATE is not selected by default by some distros,\nfor example Fedora, and that leads to a regression in the xe driver\nsince userptr support gets compiled out.\n\nIt turns out that DRM_GPUSVM, which is needed for xe userptr support\ncompiles also without CONFIG_DEVICE_PRIVATE, but doesn\u0027t compile\nwithout CONFIG_ZONE_DEVICE.\nExclude the drm_pagemap files from compilation with !CONFIG_ZONE_DEVICE,\nand remove the CONFIG_DEVICE_PRIVATE dependency from CONFIG_DRM_GPUSVM and\nthe xe driver\u0027s selection of it, re-enabling xe userptr for those configs.\n\nv2:\n- Don\u0027t compile the drm_pagemap files unless CONFIG_ZONE_DEVICE is set.\n- Adjust the drm_pagemap.h header accordingly.\n\nFixes: 9e9787414882 (\"drm/xe/userptr: replace xe_hmm with gpusvm\")\nCc: Matthew Auld \u003cmatthew.auld@intel.com\u003e\nCc: Himal Prasad Ghimiray \u003chimal.prasad.ghimiray@intel.com\u003e\nCc: Thomas Hellström \u003cthomas.hellstrom@linux.intel.com\u003e\nCc: Matthew Brost \u003cmatthew.brost@intel.com\u003e\nCc: \"Thomas Hellström\" \u003cthomas.hellstrom@linux.intel.com\u003e\nCc: Rodrigo Vivi \u003crodrigo.vivi@intel.com\u003e\nCc: dri-devel@lists.freedesktop.org\nCc: \u003cstable@vger.kernel.org\u003e # v6.18+\nSigned-off-by: Thomas Hellström \u003cthomas.hellstrom@linux.intel.com\u003e\nReviewed-by: Matthew Auld \u003cmatthew.auld@intel.com\u003e\nAcked-by: Maarten Lankhorst \u003cmaarten.lankhorst@linux.intel.com\u003e\nLink: https://patch.msgid.link/20260121091048.41371-2-thomas.hellstrom@linux.intel.com\n(cherry picked from commit 1e372b246199ca7a35f930177fea91b557dac16e)\nSigned-off-by: Thomas Hellström \u003cthomas.hellstrom@linux.intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7e6bc0b3a589ce8a5ffc9894f02e076a4bfbd5c2",
      "old_mode": 33188,
      "old_path": "drivers/gpu/drm/Kconfig",
      "new_id": "ed85d0ceee3ba59532cdbcfdd683b231670e9b4e",
      "new_mode": 33188,
      "new_path": "drivers/gpu/drm/Kconfig"
    },
    {
      "type": "modify",
      "old_id": "0e1c668b46d2119c166430ac99996bc155c026c5",
      "old_mode": 33188,
      "old_path": "drivers/gpu/drm/Makefile",
      "new_id": "d261917174280ba99a2a5904e2a218efcc27e3c2",
      "new_mode": 33188,
      "new_path": "drivers/gpu/drm/Makefile"
    },
    {
      "type": "modify",
      "old_id": "4b288eb3f5b0e5c0489f9e7301cad22459d8ef0a",
      "old_mode": 33188,
      "old_path": "drivers/gpu/drm/xe/Kconfig",
      "new_id": "c34be1be155b39aef9afd404214e93c4fe8b334d",
      "new_mode": 33188,
      "new_path": "drivers/gpu/drm/xe/Kconfig"
    },
    {
      "type": "modify",
      "old_id": "70a7991f784f9b06afddd74238c0bb8274d94337",
      "old_mode": 33188,
      "old_path": "include/drm/drm_pagemap.h",
      "new_id": "eb29e5309f0ab6a03a0b2c874e975c621b266550",
      "new_mode": 33188,
      "new_path": "include/drm/drm_pagemap.h"
    }
  ]
}
