Skip to content

Commit

Permalink
gen hc test
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 committed Nov 25, 2023
1 parent 76980a5 commit d722abc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/freedreno/common/freedreno_dev_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ struct fd_dev_id {
static inline uint32_t
fd_dev_gpu_id(const struct fd_dev_id *id)
{
// assert(id->gpu_id || id->chip_id);
assert(id->gpu_id || id->chip_id);
if (!id->gpu_id) {
return ((id->chip_id >> 24) & 0xff) * 100 +
((id->chip_id >> 16) & 0xff) * 10 +
Expand All @@ -192,7 +192,7 @@ fd_dev_gpu_id(const struct fd_dev_id *id)
static uint8_t
fd_dev_gen(const struct fd_dev_id *id)
{
return fd_dev_gpu_id(id) / 100;
return 6; // test
}

static inline bool
Expand Down

0 comments on commit d722abc

Please sign in to comment.