diff options
| author | Dave Airlie <airlied@redhat.com> | 2018-07-09 21:05:46 -0400 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2018-07-09 21:10:34 -0400 |
| commit | 8038d2a9e6cde825be46359ad98a084da92294fe (patch) | |
| tree | beb2c8b3a6bce8193f395ff50b221fad6ae2cd7b /drivers/gpu/drm/vmwgfx/device_include | |
| parent | ba7ca97d73b437eec883eba785495b8c9759b5f2 (diff) | |
| parent | 812a954b787ab5a91d62e597a36351628b08d079 (diff) | |
Merge tag 'vmwgfx-next-4.19-2' of git://people.freedesktop.org/~thomash/linux into drm-next
A series of cleanups / reorganizations and modesetting changes that
mostly target atomic state validation.
[airlied: conflicts with SPDX stuff in amdgpu tree]
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1a88485e-e509-b00e-8485-19194f074115@vmware.com
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/device_include')
| -rw-r--r-- | drivers/gpu/drm/vmwgfx/device_include/svga_reg.h | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/drivers/gpu/drm/vmwgfx/device_include/svga_reg.h b/drivers/gpu/drm/vmwgfx/device_include/svga_reg.h index 847e3301c478..b30c006bd80a 100644 --- a/drivers/gpu/drm/vmwgfx/device_include/svga_reg.h +++ b/drivers/gpu/drm/vmwgfx/device_include/svga_reg.h | |||
| @@ -673,8 +673,34 @@ SVGASignedPoint; | |||
| 673 | * SVGA_CAP_GBOBJECTS -- | 673 | * SVGA_CAP_GBOBJECTS -- |
| 674 | * Enable guest-backed objects and surfaces. | 674 | * Enable guest-backed objects and surfaces. |
| 675 | * | 675 | * |
| 676 | * SVGA_CAP_CMD_BUFFERS_3 -- | 676 | * SVGA_CAP_DX -- |
| 677 | * Enable support for command buffers in a mob. | 677 | * Enable support for DX commands, and command buffers in a mob. |
| 678 | * | ||
| 679 | * SVGA_CAP_HP_CMD_QUEUE -- | ||
| 680 | * Enable support for the high priority command queue, and the | ||
| 681 | * ScreenCopy command. | ||
| 682 | * | ||
| 683 | * SVGA_CAP_NO_BB_RESTRICTION -- | ||
| 684 | * Allow ScreenTargets to be defined without regard to the 32-bpp | ||
| 685 | * bounding-box memory restrictions. ie: | ||
| 686 | * | ||
| 687 | * The summed memory usage of all screens (assuming they were defined as | ||
| 688 | * 32-bpp) must always be less than the value of the | ||
| 689 | * SVGA_REG_MAX_PRIMARY_MEM register. | ||
| 690 | * | ||
| 691 | * If this cap is not present, the 32-bpp bounding box around all screens | ||
| 692 | * must additionally be under the value of the SVGA_REG_MAX_PRIMARY_MEM | ||
| 693 | * register. | ||
| 694 | * | ||
| 695 | * If the cap is present, the bounding box restriction is lifted (and only | ||
| 696 | * the screen-sum limit applies). | ||
| 697 | * | ||
| 698 | * (Note that this is a slight lie... there is still a sanity limit on any | ||
| 699 | * dimension of the topology to be less than SVGA_SCREEN_ROOT_LIMIT, even | ||
| 700 | * when SVGA_CAP_NO_BB_RESTRICTION is present, but that should be | ||
| 701 | * large enough to express any possible topology without holes between | ||
| 702 | * monitors.) | ||
| 703 | * | ||
| 678 | */ | 704 | */ |
| 679 | 705 | ||
| 680 | #define SVGA_CAP_NONE 0x00000000 | 706 | #define SVGA_CAP_NONE 0x00000000 |
| @@ -700,6 +726,7 @@ SVGASignedPoint; | |||
| 700 | #define SVGA_CAP_GBOBJECTS 0x08000000 | 726 | #define SVGA_CAP_GBOBJECTS 0x08000000 |
| 701 | #define SVGA_CAP_DX 0x10000000 | 727 | #define SVGA_CAP_DX 0x10000000 |
| 702 | #define SVGA_CAP_HP_CMD_QUEUE 0x20000000 | 728 | #define SVGA_CAP_HP_CMD_QUEUE 0x20000000 |
| 729 | #define SVGA_CAP_NO_BB_RESTRICTION 0x40000000 | ||
| 703 | 730 | ||
| 704 | #define SVGA_CAP_CMD_RESERVED 0x80000000 | 731 | #define SVGA_CAP_CMD_RESERVED 0x80000000 |
| 705 | 732 | ||
