Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

and make more files compile

  • Loading branch information...
commit f8c5e5c87d1bf53c365044ed37f7b0b8e99eecc4 1 parent fef3e4b
@mlankhorst mlankhorst authored
Showing with 3 additions and 2 deletions.
  1. +2 −1  pscnv/nouveau_i2c.h
  2. +1 −1  pscnv/nvc0_graph.c
View
3  pscnv/nouveau_i2c.h
@@ -31,14 +31,15 @@
#include <linux/i2c-dev.h>
#endif
#include <linux/i2c-algo-bit.h>
-#include "drm_dp_helper.h"
#else /* __linux __ */
struct i2c_adapter {};
struct i2c_algo_bit_data {};
struct i2c_board_info;
+
#endif
+#include "drm_dp_helper.h"
struct dcb_i2c_entry;
View
2  pscnv/nvc0_graph.c
@@ -120,7 +120,7 @@ nvc0_graph_init_gpc(struct drm_device *dev, struct nvc0_graph_engine *graph)
graph->tp_count += graph->gpc_tp_count[gpc];
}
- magicgpc918 = DIV_ROUND_UP(0x00800000, graph->tp_count);
+ magicgpc918 = (0x00800000 + (graph->tp_count - 1)) / graph->tp_count;
/*
* TP ROP UNKVAL(magic_val)

0 comments on commit f8c5e5c

Please sign in to comment.
Something went wrong with that request. Please try again.