diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2006-08-02 20:48:13 -0700 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2006-08-02 20:48:13 -0700 |
commit | 7a64e14624514ef31f6fa9f15e8804c45f930212 (patch) | |
tree | 7fe506635ccefaddf6f8c8f42e9a7ced83d5faeb | |
parent | bc6a2bb7576a7c1e7971f6d1e0b893b2ada1aaa3 (diff) |
Crank down the SF allocation and comment on why this is a fine lower limit.
-rw-r--r-- | src/i830_video.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/i830_video.c b/src/i830_video.c index 5e5c937f..76b35fcb 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -2905,8 +2905,13 @@ BroadwaterDisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id, #define URB_CLIP_ENTRIES 0 #define URB_CLIP_ENTRY_SIZE 0 -#define URB_SF_ENTRIES 8 -#define URB_SF_ENTRY_SIZE 11 + /* The SF kernel we use outputs only 4 256-bit registers, leading to an + * entry size of 2 512-bit URBs. We don't need to have many entries to + * output as we're generally working on large rectangles and don't care + * about having WM threads running on different rectangles simultaneously. + */ +#define URB_SF_ENTRIES 1 +#define URB_SF_ENTRY_SIZE 2 #define URB_CS_ENTRIES 0 #define URB_CS_ENTRY_SIZE 0 |