UPSTREAM: intel_noop_drm_shim: add ability to specify device id

Given a GPU platform, there are multiple device ids. This commit
adds ability to specify device id for the shim, instead of using
one of the hard-coded device ids per platform.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20526>

(cherry picked from commit 32010d985c4a66c3fed103b6f8d4e4ac60291d1f)

BUG=b:264575402
TEST=None

Change-Id: I47032c24af59d98f8a8b06799f918030e40048aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/mesa/+/4135742
Reviewed-by: Sean Paul <sean@poorly.run>
Tested-by: Max Lee <endlesspring@google.com>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: Max Lee <endlesspring@google.com>
1 file changed