diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-08-06 13:55:10 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-10 08:20:20 +1000 |
commit | c17c2f892e23a3c70281a4e79bd7c2c226b1a561 (patch) | |
tree | 73e048ae853103479e3ba747809fc8c38f6b7de8 /drivers/gpu/drm/radeon/radeon_kms.c | |
parent | c3b6ef8633e75bdcde8e845548e3b95e9a21cdf6 (diff) | |
download | blackbird-op-linux-c17c2f892e23a3c70281a4e79bd7c2c226b1a561.tar.gz blackbird-op-linux-c17c2f892e23a3c70281a4e79bd7c2c226b1a561.zip |
drm: Fix support for PCI domains
(For some reason I thought that went in ages ago ...)
This fixes support for PCI domains in what should hopefully be a backward
compatible way along with a change to libdrm.
When the interface version is set to 1.4, we assume userspace understands
domains and the world is at peace. We thus pass proper domain numbers
instead of 0 to userspace.
The newer libdrm will then try 1.4 first, and fallback to 1.1, along with
ignoring domains in the later case (well, except on alpha of course)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_kms.c')
0 files changed, 0 insertions, 0 deletions